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