Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserObject

Hierarchy

  • UserObject

Index

Constructors

constructor

Methods

comparePassword

  • comparePassword(password: string): boolean

confirmEmail

delete

getData

  • getData(): User

getIdToken

  • getIdToken(): string

getInfo

  • getInfo(): UserInfo

getProfile

  • getProfile(): UserProfile

getProvider

  • getProvider(): { providerId: undefined | "password" | "custom" | "anonymous" | "google.com" | "facebook.com" }
  • Returns { providerId: undefined | "password" | "custom" | "anonymous" | "google.com" | "facebook.com" }

    • providerId: undefined | "password" | "custom" | "anonymous" | "google.com" | "facebook.com"

getPublicProfile

  • getPublicProfile(): UserProfile

save

setAdditionalData

  • setAdditionalData(data: Record<string, unknown>): UserObject

setEmail

setOob

setPassword

setPhoneNumber

setProfilePrivately

  • setProfilePrivately(props: string | string[]): UserObject

setProfilePublicly

  • setProfilePublicly(props: string | string[]): UserObject

setRefreshToken

setSettings

  • setSettings(data: Record<string, unknown>): UserObject

setUsername

setlastLogin

updateClaims

  • updateClaims(claims: Record<string, unknown>): UserObject

updateProfile

  • updateProfile(data: UserEditableProfile): UserObject

Generated using TypeDoc