SilentCacheClient class

Extends

Constructors

SilentCacheClient(BrowserConfiguration, BrowserCacheManager, ICrypto, Logger, EventHandler, INavigationClient, IPerformanceClient, NativeMessageHandler, string)

Methods

acquireToken(CommonSilentFlowRequest)

Returns unexpired tokens from the cache, if available

initializeSilentRequest(SilentRequest, AccountInfo)
logout()

Currently Unsupported

Inherited Methods

getRedirectUri(string)

Use to get the redirect uri configured in MSAL or null.

Constructor Details

SilentCacheClient(BrowserConfiguration, BrowserCacheManager, ICrypto, Logger, EventHandler, INavigationClient, IPerformanceClient, NativeMessageHandler, string)

new SilentCacheClient(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeMessageHandler?: NativeMessageHandler, correlationId?: string)

Parameters

storageImpl
BrowserCacheManager
browserCrypto

ICrypto

logger

Logger

eventHandler
EventHandler
navigationClient
INavigationClient
performanceClient

IPerformanceClient

nativeMessageHandler
NativeMessageHandler
correlationId

string

Method Details

acquireToken(CommonSilentFlowRequest)

Returns unexpired tokens from the cache, if available

function acquireToken(silentRequest: CommonSilentFlowRequest): Promise<AuthenticationResult>

Parameters

silentRequest

CommonSilentFlowRequest

Returns

Promise<AuthenticationResult>

initializeSilentRequest(SilentRequest, AccountInfo)

function initializeSilentRequest(request: SilentRequest, account: AccountInfo): Promise<CommonSilentFlowRequest>

Parameters

request
SilentRequest
account

AccountInfo

Returns

Promise<CommonSilentFlowRequest>

logout()

Currently Unsupported

function logout(): Promise<void>

Returns

Promise<void>

Inherited Method Details

getRedirectUri(string)

Use to get the redirect uri configured in MSAL or null.

function getRedirectUri(requestRedirectUri?: string): string

Parameters

requestRedirectUri

string

Returns

string

Redirect URL

Inherited From BaseInteractionClient.getRedirectUri