BaseInteractionClient class
Constructors
Base |
Methods
acquire |
|
get |
Use to get the redirect uri configured in MSAL or null. |
logout(End |
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
- config
- BrowserConfiguration
- 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
- request
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
- request
- EndSessionRequest
Returns
Promise<void>