Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InteractiveBrowserCredentialOptions

Package version

Defines options for the InteractiveBrowserCredential class.

Hierarchy

Index

Properties

Optional authenticationRecord

authenticationRecord: AuthenticationRecord

The authentication record to use to find existing tokens in the cache

Optional authorityHost

authorityHost: undefined | string

The authority host to use for authentication requests. The default is "https://login.microsoftonline.com".

Optional cacheOptions

cacheOptions: undefined | { cachePlugin?: undefined | { readFromStorage: () => Promise<string>; writeToStorage: (getMergedState: (oldState: string) => string) => Promise<void> } }

The cache options to use when credentials are being checked.

Optional clientId

clientId: undefined | string

The client (application) ID of an App Registration in the tenant.

Optional loginStyle

loginStyle: BrowserLoginStyle

Specifies whether a redirect or a popup window should be used to initiate the user authentication flow. Possible values are "redirect" or "popup" (default) for browser and "popup" (default) for node.

Optional postLogoutRedirectUri

postLogoutRedirectUri: string | (() => string)

Gets the URI to which the user will be redirected when logging out. Defaults to window.location.href.

Optional redirectUri

redirectUri: string | (() => string)

Gets the redirect URI of the application. This should be same as the value in the application registration portal. Defaults to window.location.href.

Optional tenantId

tenantId: undefined | string

The Azure Active Directory tenant (directory) ID.

Generated using TypeDoc