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>