Options
All
  • Public
  • Public/Protected
  • All
Menu

Export Registry Provider

Hierarchy

  • BusinessProvider
    • AuthProvider

Index

Constructors

  • Returns AuthProvider

Methods

  • The function to connect Discord account using Discord exchange code.

    Parameters

    Returns Promise<AuthEntity>

  • The function to connect email with a valid OTP token.

    Parameters

    Returns Promise<User>

  • The function to connect oauth using credential from wallet signature.

    Parameters

    Returns Promise<LoginResponse>

  • The function to connect user wallet using credential from wallet signature.

    Parameters

    Returns Promise<AuthEntity>

  • logout(): Promise<void>
  • The function to log user out from the current session.

    Returns Promise<void>

  • request<T>(url: string, options: RequestInit): Promise<T>
  • The function to make a request without credentials included.

    Type Parameters

    • T

    Parameters

    • url: string
    • options: RequestInit

    Returns Promise<T>

  • The function to request auth challenge before login/logout/connect wallet

    Parameters

    • target: string

    Returns Promise<AuthChallenge>

  • requestEmailOtp(email: string): Promise<void>
  • The function to send email otp verification when user want to update email.

    Parameters

    • email: string

    Returns Promise<void>

  • requestWithCredential<T>(url: string, options: RequestInit): Promise<T>
  • The function to make a request with credentials included.

    Type Parameters

    • T

    Parameters

    • url: string
    • options: RequestInit

    Returns Promise<T>

  • requestWithOAuthCredential<T>(url: string, options: RequestInit): Promise<T>
  • The function to make a request with oauth credentials included.

    Type Parameters

    • T

    Parameters

    • url: string
    • options: RequestInit

    Returns Promise<T>

  • The function to connect new wallet to UID when forget/lost old wallets via email

    Parameters

    Returns Promise<AuthEntity>

  • sendConnectWalletLink(email: string): Promise<void>
  • The function to send email to connect wallet.

    Parameters

    • email: string

    Returns Promise<void>

  • sendEmailVerification(email: string): Promise<void>
  • The function to send otp verification via email

    Parameters

    • email: string

    Returns Promise<void>

  • sendUpdateEmailOtp(email: string): Promise<void>
  • The function to send email otp verification when user want to update email.

    deprecated

    This function will be soon deprecated. Please use requestEmailOtp instead.

    Parameters

    • email: string

    Returns Promise<void>

  • The function to login using Discord exchange code.

    Parameters

    Returns Promise<LoginResponse>

  • signInEmailOtp(loginPayload: EmailOTPLoginAuthDto): Promise<LoginResponse>
  • The function to login using email otp credential. Need to obtain token from requestEmailOtp function.

    Parameters

    • loginPayload: EmailOTPLoginAuthDto

    Returns Promise<LoginResponse>

  • The function to login using credential from wallet signature.

    Parameters

    Returns Promise<LoginResponse>

  • The function to sign up user using credential from wallet signature.

    Parameters

    Returns Promise<LoginResponse>

  • The function to sign up user using email otp credential. Need to obtain token from requestEmailOtp function.

    Parameters

    Returns Promise<LoginResponse>

  • The function to verify user wallet using credential from wallet signature.

    Parameters

    Returns Promise<void>

Generated using TypeDoc