IPublicClientApplication interface

メソッドの詳細

acquireTokenByCode(AuthorizationCodeRequest)

function acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>

パラメーター

返品

acquireTokenPopup(PopupRequest)

function acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>

パラメーター

request
PopupRequest

返品

acquireTokenRedirect(RedirectRequest)

function acquireTokenRedirect(request: RedirectRequest): Promise<void>

パラメーター

request
RedirectRequest

返品

Promise<void>

acquireTokenSilent(SilentRequest)

function acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>

パラメーター

silentRequest
SilentRequest

返品

addEventCallback(EventCallbackFunction, EventType[])

function addEventCallback(callback: EventCallbackFunction, eventTypes?: EventType[]): null | string

パラメーター

eventTypes

EventType[]

返品

null | string

addPerformanceCallback(PerformanceCallbackFunction)

function addPerformanceCallback(callback: PerformanceCallbackFunction): string

パラメーター

返品

string

clearCache(ClearCacheRequest)

function clearCache(logoutRequest?: ClearCacheRequest): Promise<void>

パラメーター

logoutRequest
ClearCacheRequest

返品

Promise<void>

disableAccountStorageEvents()

function disableAccountStorageEvents()

enableAccountStorageEvents()

function enableAccountStorageEvents()

getAccount(AccountFilter)

function getAccount(accountFilter: AccountFilter): null | AccountInfo

パラメーター

accountFilter
AccountFilter

返品

null | AccountInfo

getAccountByHomeId(string)

function getAccountByHomeId(homeAccountId: string): null | AccountInfo

パラメーター

homeAccountId

string

返品

null | AccountInfo

getAccountByLocalId(string)

function getAccountByLocalId(localId: string): null | AccountInfo

パラメーター

localId

string

返品

null | AccountInfo

getAccountByUsername(string)

function getAccountByUsername(userName: string): null | AccountInfo

パラメーター

userName

string

返品

null | AccountInfo

getActiveAccount()

function getActiveAccount(): null | AccountInfo

返品

null | AccountInfo

getAllAccounts()

function getAllAccounts(): AccountInfo[]

返品

getLogger()

function getLogger(): Logger

返品

getTokenCache()

function getTokenCache(): ITokenCache

返品

handleRedirectPromise(string)

function handleRedirectPromise(hash?: string): Promise<null | AuthenticationResult>

パラメーター

hash

string

返品

Promise<null | AuthenticationResult>

hydrateCache(AuthenticationResult, PopupRequest | RedirectRequest | SilentRequest | Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>)

function hydrateCache(result: AuthenticationResult, request: PopupRequest | RedirectRequest | SilentRequest | Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>): Promise<void>

パラメーター

request

PopupRequest | RedirectRequest | SilentRequest | Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>

返品

Promise<void>

initialize(InitializeApplicationRequest)

function initialize(request?: InitializeApplicationRequest): Promise<void>

パラメーター

返品

Promise<void>

initializeWrapperLibrary(WrapperSKU, string)

function initializeWrapperLibrary(sku: WrapperSKU, version: string)

パラメーター

version

string

loginPopup(PopupRequest)

function loginPopup(request?: PopupRequest): Promise<AuthenticationResult>

パラメーター

request
PopupRequest

返品

loginRedirect(RedirectRequest)

function loginRedirect(request?: RedirectRequest): Promise<void>

パラメーター

request
RedirectRequest

返品

Promise<void>

logout(EndSessionRequest)

function logout(logoutRequest?: EndSessionRequest): Promise<void>

パラメーター

logoutRequest
EndSessionRequest

返品

Promise<void>

logoutPopup(EndSessionPopupRequest)

function logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>

パラメーター

logoutRequest
EndSessionPopupRequest

返品

Promise<void>

logoutRedirect(EndSessionRequest)

function logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>

パラメーター

logoutRequest
EndSessionRequest

返品

Promise<void>

removeEventCallback(string)

function removeEventCallback(callbackId: string)

パラメーター

callbackId

string

removePerformanceCallback(string)

function removePerformanceCallback(callbackId: string): boolean

パラメーター

callbackId

string

返品

boolean

setActiveAccount(null | AccountInfo)

function setActiveAccount(account: null | AccountInfo)

パラメーター

account

null | AccountInfo

setLogger(Logger)

function setLogger(logger: Logger)

パラメーター

logger
Logger

setNavigationClient(INavigationClient)

function setNavigationClient(navigationClient: INavigationClient)

パラメーター

navigationClient
INavigationClient

ssoSilent(Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>)

function ssoSilent(request: Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>): Promise<AuthenticationResult>

パラメーター

request

Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>

返品