React Native Auth0 - v5.5.0
    Preparing search index...

    Class ApiCredentials

    A class representation of API-specific user credentials. It encapsulates the tokens and provides helper methods for convenience.

    Implements

    Index

    Constructors

    Methods

    • Checks if the access token is expired.

      Parameters

      • Optionalleeway: number = 0

        A buffer in seconds to account for clock skew. The token will be considered expired if it expires within this buffer.

      Returns boolean

      true if the token is expired, false otherwise.

    Properties

    accessToken: string
    tokenType: string
    expiresAt: number
    scope?: string