INativeBrokerPlugin interface
方法
| acquire |
|
| acquire |
|
| get |
|
| get |
|
| set |
|
| sign |
属性详细信息
isBrokerAvailable
isBrokerAvailable: boolean
属性值
boolean
方法详细信息
acquireTokenInteractive(NativeRequest, Buffer)
function acquireTokenInteractive(request: NativeRequest, windowHandle?: Buffer): Promise<AuthenticationResult>
参数
- request
- NativeRequest
- windowHandle
-
Buffer
返回
Promise<AuthenticationResult>
acquireTokenSilent(NativeRequest)
function acquireTokenSilent(request: NativeRequest): Promise<AuthenticationResult>
参数
- request
- NativeRequest
返回
Promise<AuthenticationResult>
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)
signOut(NativeSignOutRequest)
function signOut(request: NativeSignOutRequest): Promise<void>
参数
- request
- NativeSignOutRequest
返回
Promise<void>