Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CognitoUserType

Hierarchy

  • CognitoUserType

Implemented by

Index

Properties

Optional Session

Session: string

authenticationFlowType

authenticationFlowType: string

client

client: CognitoIdentityProviderClient

keyPrefix

keyPrefix: string

pool

Optional signInUserSession

signInUserSession: CognitoUserSessionType

storage

userDataKey

userDataKey: string

username

username: string

Methods

cache

  • cache(action: string): void

cacheUserData

  • cacheUserData(userData: Record<string, unknown>): void

clearCachedUserData

  • clearCachedUserData(): void

completeNewPasswordChallenge

  • completeNewPasswordChallenge(pass: string): void

confirmSignUp

  • confirmSignUp(confirmationCode: string, forceAliasCreation: boolean): Promise<ConfirmSignUpCommandOutput>
  • Parameters

    • confirmationCode: string
    • forceAliasCreation: boolean

    Returns Promise<ConfirmSignUpCommandOutput>

getCognitoUserSession

getSession

getSignInUserSession

getUserAttributes

  • getUserAttributes(): Promise<AttributeType[]>

getUsername

  • getUsername(): string

refreshSession

setSignInUserSession

signOut

  • signOut(): void

Generated using TypeDoc