Editar

Compartir a través de


StandardInteractionClient class

Defines the class structure and helper functions used by the "standard", non-brokered auth flows (popup, redirect, silent (RT), silent (iframe))

Extends

Constructors

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

Inherited Methods

acquireToken(RedirectRequest | PopupRequest | SsoSilentRequest)
getRedirectUri(string)

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

logout(EndSessionRequest)

Constructor Details

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

new StandardInteractionClient(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

Inherited Method Details

acquireToken(RedirectRequest | PopupRequest | SsoSilentRequest)

function acquireToken(request: RedirectRequest | PopupRequest | SsoSilentRequest): Promise<AuthenticationResult | void>

Parameters

Returns

Promise<AuthenticationResult | void>

Inherited From BaseInteractionClient.acquireToken

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

logout(EndSessionRequest)

function logout(request: EndSessionRequest): Promise<void>

Parameters

Returns

Promise<void>

Inherited From BaseInteractionClient.logout