Skip to content

Latest commit

 

History

History
648 lines (353 loc) · 11.6 KB

OktaAuthMyAccountInterface.md

File metadata and controls

648 lines (353 loc) · 11.6 KB

@okta/okta-auth-js/myaccount / Exports / OktaAuthMyAccountInterface

Interface: OktaAuthMyAccountInterface<M, S, O>

Type parameters

Name Type
M extends OAuthTransactionMeta = PKCETransactionMeta
S extends OAuthStorageManagerInterface<M> = OAuthStorageManagerInterface<M>
O extends OktaAuthOAuthOptions = OktaAuthOAuthOptions

Hierarchy

  • OktaAuthOAuthInterface<M, S, O>

    OktaAuthMyAccountInterface

Table of contents

Properties

Methods

Properties

_oktaUserAgent

_oktaUserAgent: OktaUserAgent

Inherited from

OktaAuthOAuthInterface._oktaUserAgent

Defined in

http/types.ts:87


emitter

emitter: EventEmitter

Inherited from

OktaAuthOAuthInterface.emitter

Defined in

base/types.ts:46


features

features: FeaturesAPI

Inherited from

OktaAuthOAuthInterface.features

Defined in

base/types.ts:47


http

http: HttpAPI

Inherited from

OktaAuthOAuthInterface.http

Defined in

http/types.ts:88


myaccount

myaccount: any

Defined in

myaccount/types.ts:117


options

options: O

Inherited from

OktaAuthOAuthInterface.options

Defined in

base/types.ts:45


pkce

pkce: PkceAPI

Inherited from

OktaAuthOAuthInterface.pkce

Defined in

oidc/types/api.ts:134


session

session: SessionAPI

Inherited from

OktaAuthOAuthInterface.session

Defined in

session/types.ts:26


storageManager

storageManager: S

Inherited from

OktaAuthOAuthInterface.storageManager

Defined in

storage/types.ts:106


token

token: TokenAPI

Inherited from

OktaAuthOAuthInterface.token

Defined in

oidc/types/api.ts:132


tokenManager

tokenManager: TokenManagerInterface

Inherited from

OktaAuthOAuthInterface.tokenManager

Defined in

oidc/types/api.ts:133


transactionManager

transactionManager: TransactionManagerInterface

Inherited from

OktaAuthOAuthInterface.transactionManager

Defined in

oidc/types/api.ts:135

Methods

clearStorage

clearStorage(): void

Returns

void

Inherited from

OktaAuthOAuthInterface.clearStorage

Defined in

storage/types.ts:107


closeSession

closeSession(): Promise<boolean>

Returns

Promise<boolean>

Inherited from

OktaAuthOAuthInterface.closeSession

Defined in

session/types.ts:27


getAccessToken

getAccessToken(): undefined | string

Returns

undefined | string

Inherited from

OktaAuthOAuthInterface.getAccessToken

Defined in

oidc/types/api.ts:139


getIdToken

getIdToken(): undefined | string

Returns

undefined | string

Inherited from

OktaAuthOAuthInterface.getIdToken

Defined in

oidc/types/api.ts:138


getIssuerOrigin

getIssuerOrigin(): string

Returns

string

Inherited from

OktaAuthOAuthInterface.getIssuerOrigin

Defined in

http/types.ts:91


getOriginalUri

getOriginalUri(state?): undefined | string

Parameters

Name Type
state? string

Returns

undefined | string

Inherited from

OktaAuthOAuthInterface.getOriginalUri

Defined in

oidc/types/api.ts:117


getRefreshToken

getRefreshToken(): undefined | string

Returns

undefined | string

Inherited from

OktaAuthOAuthInterface.getRefreshToken

Defined in

oidc/types/api.ts:140


getUser

getUser<T>(): Promise<UserClaims<T>>

Type parameters

Name Type
T extends CustomUserClaims = CustomUserClaims

Returns

Promise<UserClaims<T>>

Inherited from

OktaAuthOAuthInterface.getUser

Defined in

oidc/types/api.ts:146


isAuthenticated

isAuthenticated(options?): Promise<boolean>

Parameters

Name Type
options? IsAuthenticatedOptions

Returns

Promise<boolean>

Inherited from

OktaAuthOAuthInterface.isAuthenticated

Defined in

oidc/types/api.ts:142


isLoginRedirect

isLoginRedirect(): boolean

Returns

boolean

Inherited from

OktaAuthOAuthInterface.isLoginRedirect

Defined in

oidc/types/api.ts:144


isPKCE

isPKCE(): boolean

Returns

boolean

Inherited from

OktaAuthOAuthInterface.isPKCE

Defined in

oidc/types/api.ts:137


removeOriginalUri

removeOriginalUri(state?): void

Parameters

Name Type
state? string

Returns

void

Inherited from

OktaAuthOAuthInterface.removeOriginalUri

Defined in

oidc/types/api.ts:119


revokeAccessToken

revokeAccessToken(accessToken?): Promise<unknown>

Parameters

Name Type
accessToken? AccessToken

Returns

Promise<unknown>

Inherited from

OktaAuthOAuthInterface.revokeAccessToken

Defined in

oidc/types/api.ts:149


revokeRefreshToken

revokeRefreshToken(refreshToken?): Promise<unknown>

Parameters

Name Type
refreshToken? RefreshToken

Returns

Promise<unknown>

Inherited from

OktaAuthOAuthInterface.revokeRefreshToken

Defined in

oidc/types/api.ts:150


setHeaders

setHeaders(headers): void

Parameters

Name Type
headers any

Returns

void

Inherited from

OktaAuthOAuthInterface.setHeaders

Defined in

http/types.ts:90


setOriginalUri

setOriginalUri(originalUri, state?): void

Parameters

Name Type
originalUri string
state? string

Returns

void

Inherited from

OktaAuthOAuthInterface.setOriginalUri

Defined in

oidc/types/api.ts:118


signInWithRedirect

signInWithRedirect(opts?): Promise<void>

Parameters

Name Type
opts? SigninWithRedirectOptions

Returns

Promise<void>

Inherited from

OktaAuthOAuthInterface.signInWithRedirect

Defined in

oidc/types/api.ts:147


signOut

signOut(opts?): Promise<boolean>

Parameters

Name Type
opts? SignoutOptions

Returns

Promise<boolean>

Inherited from

OktaAuthOAuthInterface.signOut

Defined in

oidc/types/api.ts:143


storeTokensFromRedirect

storeTokensFromRedirect(): Promise<void>

Returns

Promise<void>

Inherited from

OktaAuthOAuthInterface.storeTokensFromRedirect

Defined in

oidc/types/api.ts:145


webfinger

webfinger(opts): Promise<object>

Parameters

Name Type
opts any

Returns

Promise<object>

Inherited from

OktaAuthOAuthInterface.webfinger

Defined in

http/types.ts:92