React Native Auth0 - v5.0.0-beta.4
    Preparing search index...

    Type Alias Credentials

    Represents the credentials returned by Auth0 after a successful authentication. This object is platform-agnostic and is the primary return type for most login flows.

    type Credentials = {
        idToken: string;
        accessToken: string;
        tokenType: string;
        expiresAt: number;
        refreshToken?: string;
        scope?: string;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Allows for additional, non-standard properties returned from the server.

    Index

    Properties

    idToken: string

    A token in JWT format containing user identity claims.

    accessToken: string

    The token used to make API calls to protected resources (your APIs).

    tokenType: string

    The type of the token, typically "Bearer".

    expiresAt: number

    The expiration time of the access token, represented as a UNIX timestamp (in seconds).

    refreshToken?: string

    The token used to refresh the access token. This is only present if the offline_access scope was requested during authentication.

    scope?: string

    A space-separated list of scopes granted for the access token.