編集

次の方法で共有


BaseInteractionClient class

Constructors

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

Methods

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

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

logout(EndSessionRequest)

Constructor Details

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

new BaseInteractionClient(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(RedirectRequest | PopupRequest | SsoSilentRequest)

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

Parameters

Returns

Promise<AuthenticationResult | void>

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

logout(EndSessionRequest)

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

Parameters

Returns

Promise<void>