Options
All
  • Public
  • Public/Protected
  • All
Menu

Export Actions

Hierarchy

  • OffChainAction
    • UserAction

Index

Constructors

  • Constructor needs NetworkType passing as parameter.

    Returns UserAction

Properties

authProvider: AuthProvider

AuthProvider provides all methods to handle authentication actions.

cookieProvider: CookieProvider

CookieProvider provides all methods to handle cookie actions.

oauthProvider: OAuthProvider

OAuthProvider provides all methods to handle fetching/patching oauth data.

storageProvider: StorageProvider

Storage provides all methods to handle storage actions.

userProvider: UserProvider

UserProvider provides all methods to handle fetching/patching user data.

Methods

  • deleteAuthEntity(authId: string): Promise<void>
  • Delete wallet.

    Parameters

    • authId: string

    Returns Promise<void>

  • Get auth entities.

    Returns Promise<AuthEntity[]>

  • Get auth sessions.

    Returns Promise<AuthSession[]>

  • The function to get user profile.

    Returns Promise<UserInfo>

  • Init user KYC session

    Returns Promise<SessionInfo>

  • makePrimaryAuthEntity(authId: string): Promise<AuthEntity>
  • Make primary auth entity

    Parameters

    • authId: string

    Returns Promise<AuthEntity>

  • updateAvatar(file: File): Promise<User>
  • The function to upload user avatar.

    Parameters

    • file: File

    Returns Promise<User>

  • The function to update user profile

    Parameters

    Returns Promise<User>

  • validateUsername(username: string): Promise<void>
  • Validate username

    Parameters

    • username: string

    Returns Promise<void>

  • validateWalletAddress(walletAddress: string): Promise<void>
  • Validate wallet address

    Parameters

    • walletAddress: string

    Returns Promise<void>

Generated using TypeDoc