INativeBrokerPlugin interface

Egenskaper

isBrokerAvailable

Egenskapsinformation

isBrokerAvailable

isBrokerAvailable: boolean

Egenskapsvärde

boolean

Metodinformation

acquireTokenInteractive(NativeRequest, Buffer)

function acquireTokenInteractive(request: NativeRequest, windowHandle?: Buffer): Promise<AuthenticationResult>

Parametrar

request
NativeRequest
windowHandle

Buffer

Returer

acquireTokenSilent(NativeRequest)

function acquireTokenSilent(request: NativeRequest): Promise<AuthenticationResult>

Parametrar

request
NativeRequest

Returer

getAccountById(string, string)

function getAccountById(accountId: string, correlationId: string): Promise<AccountInfo>

Parametrar

accountId

string

correlationId

string

Returer

Promise<AccountInfo>

getAllAccounts(string, string)

function getAllAccounts(clientId: string, correlationId: string): Promise<AccountInfo[]>

Parametrar

clientId

string

correlationId

string

Returer

Promise<AccountInfo[]>

setLogger(LoggerOptions)

function setLogger(loggerOptions: LoggerOptions)

Parametrar

loggerOptions
LoggerOptions

signOut(NativeSignOutRequest)

function signOut(request: NativeSignOutRequest): Promise<void>

Parametrar

Returer

Promise<void>