ICustomAuthPublicClientApplication interface

Extends

IPublicClientApplication

Yöntemler

getCurrentAccount(CustomAuthActionInputs)

Geçerli hesabı önbellekten alır.

resetPassword(ResetPasswordInputs)

Parola sıfırlama akışını başlatır.

signIn(SignInInputs)

Oturum açma akışını başlatır.

signUp(SignUpInputs)

Kaydolma akışını başlatır.

Yöntem Ayrıntıları

getCurrentAccount(CustomAuthActionInputs)

Geçerli hesabı önbellekten alır.

function getCurrentAccount(accountRetrievalInputs?: CustomAuthActionInputs): GetAccountResult

Parametreler

accountRetrievalInputs

CustomAuthActionInputs

Geçerli önbelleğe alınmış hesabı almak için girişler

Döndürülenler

İşlemin sonucu

resetPassword(ResetPasswordInputs)

Parola sıfırlama akışını başlatır.

function resetPassword(resetPasswordInputs: ResetPasswordInputs): Promise<ResetPasswordStartResult>

Parametreler

resetPasswordInputs
ResetPasswordInputs

Parolayı sıfırlama akışı için girişler

Döndürülenler

ResetPasswordStartResult sorununu çözen bir söz

signIn(SignInInputs)

Oturum açma akışını başlatır.

function signIn(signInInputs: SignInInputs): Promise<SignInResult>

Parametreler

signInInputs
SignInInputs

Oturum açma akışı için girişler

Döndürülenler

Promise<SignInResult>

SignInResult olarak çözümlenebilen bir söz

signUp(SignUpInputs)

Kaydolma akışını başlatır.

function signUp(signUpInputs: SignUpInputs): Promise<SignUpResult>

Parametreler

signUpInputs
SignUpInputs

Kayıt akışı için girişler

Döndürülenler

Promise<SignUpResult>

SignUpResult'a çözümleyen bir söz

Devralınan Yöntemin Ayrıntıları

acquireTokenByCode(AuthorizationCodeRequest)

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

Parametreler

request

AuthorizationCodeRequest

Döndürülenler

Promise<AuthenticationResult>

Devralınan IPublicClientApplication.acquireTokenByCode

acquireTokenPopup(PopupRequest)

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

Parametreler

request

PopupRequest

Döndürülenler

Promise<AuthenticationResult>

Devralınan IPublicClientApplication.acquireTokenPopup

acquireTokenRedirect(RedirectRequest)

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

Parametreler

request

RedirectRequest

Döndürülenler

Promise<void>

Devralınan IPublicClientApplication.acquireTokenRedirect

acquireTokenSilent(SilentRequest)

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

Parametreler

silentRequest

SilentRequest

Döndürülenler

Promise<AuthenticationResult>

Devralınan IPublicClientApplication.acquireTokenSilent

addEventCallback(EventCallbackFunction, EventType[])

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

Parametreler

callback

EventCallbackFunction

eventTypes

EventType[]

Döndürülenler

null | string

Devralınan Kaynak IPublicClientApplication.addEventCallback

addPerformanceCallback(PerformanceCallbackFunction)

function addPerformanceCallback(callback: PerformanceCallbackFunction): string

Parametreler

Döndürülenler

string

Devralınan IPublicClientApplication.addPerformanceCallback

clearCache(ClearCacheRequest)

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

Parametreler

logoutRequest

ClearCacheRequest

Döndürülenler

Promise<void>

Devralınan IPublicClientApplication.clearCache

disableAccountStorageEvents()

function disableAccountStorageEvents()

Devralınan IPublicClientApplication.disableAccountStorageEvents

enableAccountStorageEvents()

function enableAccountStorageEvents()

Devralınan IPublicClientApplication.enableAccountStorageEvents

getAccount(AccountFilter)

function getAccount(accountFilter: AccountFilter): null | AccountInfo

Parametreler

accountFilter
AccountFilter

Döndürülenler

null | AccountInfo

Devralınan Kaynak IPublicClientApplication.getAccount

getAccountByHomeId(string)

function getAccountByHomeId(homeAccountId: string): null | AccountInfo

Parametreler

homeAccountId

string

Döndürülenler

null | AccountInfo

Devralınan IPublicClientApplication.getAccountByHomeId

getAccountByLocalId(string)

function getAccountByLocalId(localId: string): null | AccountInfo

Parametreler

localId

string

Döndürülenler

null | AccountInfo

Devralınan Kaynak IPublicClientApplication.getAccountByLocalId

getAccountByUsername(string)

function getAccountByUsername(userName: string): null | AccountInfo

Parametreler

userName

string

Döndürülenler

null | AccountInfo

Devralınan IPublicClientApplication.getAccountByUsername

getActiveAccount()

function getActiveAccount(): null | AccountInfo

Döndürülenler

null | AccountInfo

Devralınan IPublicClientApplication.getActiveAccount

getAllAccounts()

function getAllAccounts(): AccountInfo[]

Döndürülenler

Devralınan Kaynak IPublicClientApplication.getAllAccounts

getLogger()

function getLogger(): Logger

Döndürülenler

Devralınan IPublicClientApplication.getLogger

getTokenCache()

function getTokenCache(): ITokenCache

Döndürülenler

ITokenCache

Devralınan IPublicClientApplication.getTokenCache

handleRedirectPromise(string)

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

Parametreler

hash

string

Döndürülenler

Promise<null | AuthenticationResult>

Devralınan Kaynak 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>

Parametreler

result

AuthenticationResult

request

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

Döndürülenler

Promise<void>

Devralınan IPublicClientApplication.hydrateCache

initialize(InitializeApplicationRequest)

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

Parametreler

request

InitializeApplicationRequest

Döndürülenler

Promise<void>

Devralınan IPublicClientApplication.initialize

initializeWrapperLibrary(WrapperSKU, string)

function initializeWrapperLibrary(sku: WrapperSKU, version: string)

Parametreler

sku

WrapperSKU

version

string

Devralınan IPublicClientApplication.initializeWrapperLibrary

loginPopup(PopupRequest)

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

Parametreler

request

PopupRequest

Döndürülenler

Promise<AuthenticationResult>

Devralınan IPublicClientApplication.loginPopup

loginRedirect(RedirectRequest)

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

Parametreler

request

RedirectRequest

Döndürülenler

Promise<void>

Devralınan Kaynak IPublicClientApplication.loginRedirect

logout(EndSessionRequest)

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

Parametreler

logoutRequest

EndSessionRequest

Döndürülenler

Promise<void>

Devralınan IPublicClientApplication.logout

logoutPopup(EndSessionPopupRequest)

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

Parametreler

logoutRequest

EndSessionPopupRequest

Döndürülenler

Promise<void>

Devralınan IPublicClientApplication.logoutPopup

logoutRedirect(EndSessionRequest)

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

Parametreler

logoutRequest

EndSessionRequest

Döndürülenler

Promise<void>

Devralınan IPublicClientApplication.logoutRedirect

removeEventCallback(string)

function removeEventCallback(callbackId: string)

Parametreler

callbackId

string

Devralınan IPublicClientApplication.removeEventCallback

removePerformanceCallback(string)

function removePerformanceCallback(callbackId: string): boolean

Parametreler

callbackId

string

Döndürülenler

boolean

Devralınan IPublicClientApplication.removePerformanceCallback

setActiveAccount(null | AccountInfo)

function setActiveAccount(account: null | AccountInfo)

Parametreler

account

null | AccountInfo

Devralınan IPublicClientApplication.setActiveAccount

setLogger(Logger)

function setLogger(logger: Logger)

Parametreler

logger
Logger

Devralınan Kaynak IPublicClientApplication.setLogger

setNavigationClient(INavigationClient)

function setNavigationClient(navigationClient: INavigationClient)

Parametreler

navigationClient

INavigationClient

Devralınan 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>

Parametreler

request

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

Döndürülenler

Promise<AuthenticationResult>

Devralınan Kaynak IPublicClientApplication.ssoSilent