INativeBrokerPlugin interface

Свойства

isBrokerAvailable

Сведения о свойстве

isBrokerAvailable

isBrokerAvailable: boolean

Значение свойства

boolean

Сведения о методе

acquireTokenInteractive(NativeRequest, Buffer)

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

Параметры

request
NativeRequest
windowHandle

Buffer

Возвращаемое значение

acquireTokenSilent(NativeRequest)

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

Параметры

request
NativeRequest

Возвращаемое значение

getAccountById(string, string)

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

Параметры

accountId

string

correlationId

string

Возвращаемое значение

Promise<AccountInfo>

getAllAccounts(string, string)

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

Параметры

clientId

string

correlationId

string

Возвращаемое значение

Promise<AccountInfo[]>

setLogger(LoggerOptions)

function setLogger(loggerOptions: LoggerOptions)

Параметры

loggerOptions
LoggerOptions

signOut(NativeSignOutRequest)

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

Параметры

Возвращаемое значение

Promise<void>