Freigeben über


DistributedTokenCacheAdapterExtension Class

Definition

Extension class used to add distributed token cache serializer to MSAL. See https://aka.ms/ms-id-web/token-cache-serialization for details.

public static class DistributedTokenCacheAdapterExtension
type DistributedTokenCacheAdapterExtension = class
Public Module DistributedTokenCacheAdapterExtension
Inheritance
DistributedTokenCacheAdapterExtension

Methods

AddDistributedTokenCaches(IServiceCollection)

Adds the .NET Core distributed cache based app token cache to the service collection.

Applies to