SilentAuthCodeClient class
- Extends
Constructors
Silent |
Methods
acquire |
Acquires a token silently by redeeming an authorization code against the /token endpoint |
logout() | Currently Unsupported |
Inherited Methods
get |
Use to get the redirect uri configured in MSAL or null. |
Constructor Details
SilentAuthCodeClient(BrowserConfiguration, BrowserCacheManager, ICrypto, Logger, EventHandler, INavigationClient, ApiId, IPerformanceClient, NativeMessageHandler, string)
new SilentAuthCodeClient(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, nativeMessageHandler?: NativeMessageHandler, correlationId?: string)
Parameters
- config
- BrowserConfiguration
- storageImpl
- BrowserCacheManager
- browserCrypto
-
ICrypto
- logger
-
Logger
- eventHandler
- EventHandler
- navigationClient
- INavigationClient
- apiId
- ApiId
- performanceClient
-
IPerformanceClient
- nativeMessageHandler
- NativeMessageHandler
- correlationId
-
string
Method Details
acquireToken(AuthorizationCodeRequest)
Acquires a token silently by redeeming an authorization code against the /token endpoint
function acquireToken(request: AuthorizationCodeRequest): Promise<AuthenticationResult>
Parameters
- request
- AuthorizationCodeRequest
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