ICustomAuthPublicClientApplication interface
- Extends
-
IPublicClientApplication
Metoder
| get |
Hämtar det aktuella kontot från cachen. |
| reset |
Initierar återställning av lösenordsflödet. |
| sign |
Initierar inloggningsflödet. |
| sign |
Initierar registreringsflödet. |
Ärvda metoder
Metodinformation
getCurrentAccount(CustomAuthActionInputs)
Hämtar det aktuella kontot från cachen.
function getCurrentAccount(accountRetrievalInputs?: CustomAuthActionInputs): GetAccountResult
Parametrar
- accountRetrievalInputs
-
CustomAuthActionInputs
Indata för att hämta det aktuella cachelagrade kontot
Returer
Resultatet av åtgärden
resetPassword(ResetPasswordInputs)
Initierar återställning av lösenordsflödet.
function resetPassword(resetPasswordInputs: ResetPasswordInputs): Promise<ResetPasswordStartResult>
Parametrar
- resetPasswordInputs
- ResetPasswordInputs
Indata för återställning av lösenordsflödet
Returer
Promise<ResetPasswordStartResult>
Ett löfte som matchar ResetPasswordStartResult
signIn(SignInInputs)
Initierar inloggningsflödet.
function signIn(signInInputs: SignInInputs): Promise<SignInResult>
Parametrar
- signInInputs
- SignInInputs
Indata för inloggningsflödet
Returer
Promise<SignInResult>
Ett löfte som matchar SignInResult
signUp(SignUpInputs)
Initierar registreringsflödet.
function signUp(signUpInputs: SignUpInputs): Promise<SignUpResult>
Parametrar
- signUpInputs
- SignUpInputs
Indata för registreringsflödet
Returer
Promise<SignUpResult>
Ett löfte som matchar SignUpResult
Ärvd metodinformation
acquireTokenByCode(AuthorizationCodeRequest)
function acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>
Parametrar
- request
-
AuthorizationCodeRequest
Returer
Promise<AuthenticationResult>
Ärvd från IPublicClientApplication.acquireTokenByCode
acquireTokenPopup(PopupRequest)
function acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>
Parametrar
- request
-
PopupRequest
Returer
Promise<AuthenticationResult>
Ärvd från IPublicClientApplication.acquireTokenPopup
acquireTokenRedirect(RedirectRequest)
function acquireTokenRedirect(request: RedirectRequest): Promise<void>
Parametrar
- request
-
RedirectRequest
Returer
Promise<void>
Ärvd från IPublicClientApplication.acquireTokenRedirect
acquireTokenSilent(SilentRequest)
function acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>
Parametrar
- silentRequest
-
SilentRequest
Returer
Promise<AuthenticationResult>
Ärvd från IPublicClientApplication.acquireTokenSilent
addEventCallback(EventCallbackFunction, EventType[])
function addEventCallback(callback: EventCallbackFunction, eventTypes?: EventType[]): null | string
Parametrar
- callback
-
EventCallbackFunction
- eventTypes
-
EventType[]
Returer
null | string
Ärvd från IPublicClientApplication.addEventCallback
addPerformanceCallback(PerformanceCallbackFunction)
function addPerformanceCallback(callback: PerformanceCallbackFunction): string
Parametrar
- callback
- PerformanceCallbackFunction
Returer
string
Ärvd från IPublicClientApplication.addPerformanceCallback
clearCache(ClearCacheRequest)
function clearCache(logoutRequest?: ClearCacheRequest): Promise<void>
Parametrar
- logoutRequest
-
ClearCacheRequest
Returer
Promise<void>
Ärvd från IPublicClientApplication.clearCache
disableAccountStorageEvents()
function disableAccountStorageEvents()
Ärvd från IPublicClientApplication.disableAccountStorageEvents
enableAccountStorageEvents()
function enableAccountStorageEvents()
Ärvd från IPublicClientApplication.enableAccountStorageEvents
getAccount(AccountFilter)
function getAccount(accountFilter: AccountFilter): null | AccountInfo
Parametrar
- accountFilter
- AccountFilter
Returer
null | AccountInfo
Ärvd från IPublicClientApplication.getAccount
getAccountByHomeId(string)
function getAccountByHomeId(homeAccountId: string): null | AccountInfo
Parametrar
- homeAccountId
-
string
Returer
null | AccountInfo
Ärvd från IPublicClientApplication.getAccountByHomeId
getAccountByLocalId(string)
function getAccountByLocalId(localId: string): null | AccountInfo
Parametrar
- localId
-
string
Returer
null | AccountInfo
Ärvd från IPublicClientApplication.getAccountByLocalId
getAccountByUsername(string)
function getAccountByUsername(userName: string): null | AccountInfo
Parametrar
- userName
-
string
Returer
null | AccountInfo
Ärvd från IPublicClientApplication.getAccountByUsername
getActiveAccount()
function getActiveAccount(): null | AccountInfo
Returer
null | AccountInfo
Ärvd från IPublicClientApplication.getActiveAccount
getAllAccounts()
function getAllAccounts(): AccountInfo[]
Returer
Ärvd från IPublicClientApplication.getAllAccounts
getLogger()
getTokenCache()
function getTokenCache(): ITokenCache
Returer
ITokenCache
Ärvd från IPublicClientApplication.getTokenCache
handleRedirectPromise(string)
function handleRedirectPromise(hash?: string): Promise<null | AuthenticationResult>
Parametrar
- hash
-
string
Returer
Promise<null | AuthenticationResult>
Ärvd från IPublicClientApplication.handleRedirectPromise
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>
Parametrar
- result
-
AuthenticationResult
- request
-
PopupRequest | RedirectRequest | SilentRequest | Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>
Returer
Promise<void>
Ärvd från IPublicClientApplication.hydrateCache
initialize(InitializeApplicationRequest)
function initialize(request?: InitializeApplicationRequest): Promise<void>
Parametrar
- request
-
InitializeApplicationRequest
Returer
Promise<void>
Ärvd från IPublicClientApplication.initialize
initializeWrapperLibrary(WrapperSKU, string)
function initializeWrapperLibrary(sku: WrapperSKU, version: string)
Parametrar
- sku
-
WrapperSKU
- version
-
string
Ärvd från IPublicClientApplication.initializeWrapperLibrary
loginPopup(PopupRequest)
function loginPopup(request?: PopupRequest): Promise<AuthenticationResult>
Parametrar
- request
-
PopupRequest
Returer
Promise<AuthenticationResult>
Ärvd från IPublicClientApplication.loginPopup
loginRedirect(RedirectRequest)
function loginRedirect(request?: RedirectRequest): Promise<void>
Parametrar
- request
-
RedirectRequest
Returer
Promise<void>
Ärvd från IPublicClientApplication.loginRedirect
logout(EndSessionRequest)
function logout(logoutRequest?: EndSessionRequest): Promise<void>
Parametrar
- logoutRequest
-
EndSessionRequest
Returer
Promise<void>
Ärvd från IPublicClientApplication.logout
logoutPopup(EndSessionPopupRequest)
function logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>
Parametrar
- logoutRequest
-
EndSessionPopupRequest
Returer
Promise<void>
Ärvd från IPublicClientApplication.logoutPopup
logoutRedirect(EndSessionRequest)
function logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>
Parametrar
- logoutRequest
-
EndSessionRequest
Returer
Promise<void>
Ärvd från IPublicClientApplication.logoutRedirect
removeEventCallback(string)
function removeEventCallback(callbackId: string)
Parametrar
- callbackId
-
string
Ärvd från IPublicClientApplication.removeEventCallback
removePerformanceCallback(string)
function removePerformanceCallback(callbackId: string): boolean
Parametrar
- callbackId
-
string
Returer
boolean
Ärvd från IPublicClientApplication.removePerformanceCallback
setActiveAccount(null | AccountInfo)
function setActiveAccount(account: null | AccountInfo)
Parametrar
- account
-
null | AccountInfo
Ärvd från IPublicClientApplication.setActiveAccount
setLogger(Logger)
function setLogger(logger: Logger)
Parametrar
- logger
- Logger
Ärvd från IPublicClientApplication.setLogger
setNavigationClient(INavigationClient)
function setNavigationClient(navigationClient: INavigationClient)
Parametrar
- navigationClient
-
INavigationClient
Ärvd från IPublicClientApplication.setNavigationClient
ssoSilent(Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>)
function ssoSilent(request: Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>): Promise<AuthenticationResult>
Parametrar
- request
-
Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>
Returer
Promise<AuthenticationResult>
Ärvd från IPublicClientApplication.ssoSilent