Upravit

Sdílet prostřednictvím


SilentIframeClient class

Extends

Constructors

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

Methods

acquireToken(SsoSilentRequest)

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

getRedirectUri(string)

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

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

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