Xal-Node

Msal

Msal Class

IDeviceCodeAuth

user_codestring

Full Type: string

No Description

device_codestring

Full Type: string

No Description

verification_uristring

Full Type: string

No Description

expires_innumber

Full Type: number

No Description

intervalnumber

Full Type: number

No Description

messagestring

Full Type: string

No Description

IDeviceCodeVerify

access_tokenstring

Full Type: string

No Description

expires_innumber

Full Type: number

No Description

ext_expires_innumber

Full Type: number

No Description

id_tokenstring

Full Type: string

No Description

refresh_tokenstring

Full Type: string

No Description

scopestring

Full Type: string

No Description

token_typestring

Full Type: string

No Description

default

_tokenStoreobject

Full Type: TokenStore

No Description

_clientIdstring

Full Type: string

No Description

_httpClientobject

Full Type: Http

No Description

_xstsTokenobject | undefined

Full Type: XstsToken | undefined

No Description

_gssvTokenobject | undefined

Full Type: XstsToken | undefined

No Description

setDefaultHeadersfunction

Full Type: (headers: Record<string, string>) => void

No Description

doDeviceCodeAuthfunction

Full Type: () => Promise<IDeviceCodeAuth>

Creates a new device code authentication request.

doPollForDeviceCodeAuthfunction

Full Type: (deviceCode: string, timeout?: number, startTime?: number) => Promise<IDeviceCodeVerify>

Keeps polling for authentication changes. The promise will be fullfilled once the user has authenticated.

getMsalTokenfunction

Full Type: () => Promise<MsalToken>

No Description

doXstsAuthorizationfunction

Full Type: (userToken: string, relyingParty: string) => Promise<XstsToken>

No Description

refreshUserTokenfunction

Full Type: () => Promise<UserToken>

No Description

getOrRefreshUserTokenfunction

Full Type: () => Promise<string>

No Description

doXstsAuthenticationfunction

Full Type: () => Promise<XstsToken>

No Description

getWebTokenfunction

Full Type: () => Promise<XstsToken>

No Description

getGssvTokenfunction

Full Type: () => Promise<XstsToken>

No Description

getStreamingTokensfunction

Full Type: () => Promise<{ xHomeToken: StreamingToken; xCloudToken: StreamingToken; }>

No Description

getStreamTokenfunction

Full Type: (userToken: string, offering: string) => Promise<StreamingToken>

No Description