SilentIframeClient class
- Extends
Constructors
Silent |
Methods
acquire |
Acquires a token silently by opening a hidden iframe to the /authorize endpoint with prompt=none or prompt=no_session |
logout() | Currently Unsupported |
Inherited Methods
get |
Use to get the redirect uri configured in MSAL or null. |
Constructor Details
SilentIframeClient(BrowserConfiguration, BrowserCacheManager, ICrypto, Logger, EventHandler, INavigationClient, ApiId, IPerformanceClient, BrowserCacheManager, NativeMessageHandler, string)
new SilentIframeClient(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, nativeMessageHandler?: NativeMessageHandler, correlationId?: string)
Parameters
- config
- BrowserConfiguration
- storageImpl
- BrowserCacheManager
- browserCrypto
-
ICrypto
- logger
-
Logger
- eventHandler
- EventHandler
- navigationClient
- INavigationClient
- apiId
- ApiId
- performanceClient
-
IPerformanceClient
- nativeStorageImpl
- BrowserCacheManager
- nativeMessageHandler
- NativeMessageHandler
- correlationId
-
string
Method Details
acquireToken(SsoSilentRequest)
Acquires a token silently by opening a hidden iframe to the /authorize endpoint with prompt=none or prompt=no_session
function acquireToken(request: SsoSilentRequest): Promise<AuthenticationResult>
Parameters
- request
- SsoSilentRequest
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