Options
All
  • Public
  • Public/Protected
  • All
Menu

@types/auth0-js

Index

Type aliases

Auth0Callback

Auth0Callback<T, E>: (error: null | E, result: T) => void

Type parameters

Type declaration

    • (error: null | E, result: T): void
    • Parameters

      • error: null | E
      • result: T

      Returns void

Auth0ParseHashError

Auth0ParseHashError: Auth0Error & { state?: string }

ConsentRequiredErrorCode

ConsentRequiredErrorCode: "consent_required"

The user was logged in at Auth0, but needs to give consent to authorize the application.

DoneCallback

DoneCallback: (err?: Auth0Error) => void

Type declaration

InteractionRequiredErrorCode

InteractionRequiredErrorCode: "interaction_required"

The user was logged in at Auth0 and has authorized the application, but needs to be redirected elsewhere before authentication can be completed; for example, when using a redirect rule.

LibErrorCodes

LibErrorCodes: "timeout" | "request_error" | "invalid_token"

These are error codes defined by the auth0-js lib.

LoginRequiredErrorCode

LoginRequiredErrorCode: "login_required"

The user was not logged in at Auth0, so silent authentication is not possible.

SpecErrorCodes

SpecErrorCodes: LoginRequiredErrorCode | InteractionRequiredErrorCode | ConsentRequiredErrorCode | "account_selection_required" | "invalid_request_uri" | "invalid_request_object" | "request_not_supported" | "request_uri_not_supported" | "registration_not_supported"

These are error codes defined by the OpenID Connect specification.

SsoDataResult

Variables

Const version

version: { raw: string }

Type declaration

  • raw: string

Generated using TypeDoc