INativeBrokerPlugin interface

Właściwości

isBrokerAvailable

Szczegóły właściwości

isBrokerAvailable

isBrokerAvailable: boolean

Wartość właściwości

boolean

Szczegóły metody

acquireTokenInteractive(NativeRequest, Buffer)

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

Parametry

request
NativeRequest
windowHandle

Buffer

Zwraca

acquireTokenSilent(NativeRequest)

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

Parametry

request
NativeRequest

Zwraca

getAccountById(string, string)

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

Parametry

accountId

string

correlationId

string

Zwraca

Promise<AccountInfo>

getAllAccounts(string, string)

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

Parametry

clientId

string

correlationId

string

Zwraca

Promise<AccountInfo[]>

setLogger(LoggerOptions)

function setLogger(loggerOptions: LoggerOptions)

Parametry

loggerOptions
LoggerOptions

signOut(NativeSignOutRequest)

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

Parametry

Zwraca

Promise<void>