SilentRefreshClient class

Extends

Constructors

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

Methods

acquireToken(CommonSilentFlowRequest)

Exchanges the refresh token for new tokens

logout()

Currently Unsupported

Inherited Methods

getRedirectUri(string)

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

Constructor Details

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

new SilentRefreshClient(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)

Exchanges the refresh token for new tokens

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

Parameters

request

CommonSilentFlowRequest

Returns

Promise<AuthenticationResult>

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