Edit

Share via


INativeBrokerPlugin interface

Properties

isBrokerAvailable

Methods

acquireTokenInteractive(NativeRequest, Buffer)
acquireTokenSilent(NativeRequest)
getAccountById(string, string)
getAllAccounts(string, string)
setLogger(LoggerOptions)
signOut(NativeSignOutRequest)

Property Details

isBrokerAvailable

isBrokerAvailable: boolean

Property Value

boolean

Method Details

acquireTokenInteractive(NativeRequest, Buffer)

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

Parameters

request
@azure/msal-common.NativeRequest
windowHandle

Buffer

Returns

acquireTokenSilent(NativeRequest)

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

Parameters

request
@azure/msal-common.NativeRequest

Returns

getAccountById(string, string)

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

Parameters

accountId

string

correlationId

string

Returns

Promise<AccountInfo>

getAllAccounts(string, string)

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

Parameters

clientId

string

correlationId

string

Returns

Promise<AccountInfo[]>

setLogger(LoggerOptions)

function setLogger(loggerOptions: LoggerOptions)

Parameters

loggerOptions
@azure/msal-common.LoggerOptions

signOut(NativeSignOutRequest)

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

Parameters

request
@azure/msal-common.NativeSignOutRequest

Returns

Promise<void>