INativeBrokerPlugin interface

属性详细信息

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>