Skip to main content

The Backend M2MToken object

The Backend M2MToken object holds information about a machine-to-machine token.

Properties

  • Name
    claims
    Type
    null | Record<string, any>
    Description

    The claims of the M2M token.

  • Name
    createdAt
    Type
    number
    Description

    The Unix timestamp when the M2M token was created.

  • Name
    expiration
    Type
    null | number
    Description

    The Unix timestamp when the M2M token expires.

  • Name
    expired
    Type
    boolean
    Description

    Whether the M2M token has expired.

  • Name
    id
    Type
    string
    Description

    The ID of the M2M token.

  • Name
    revocationReason
    Type
    null | string
    Description

    The reason for revoking the M2M token.

  • Name
    revoked
    Type
    boolean
    Description

    Whether the M2M token has been revoked.

  • Name
    scopes
    Type
    string[]
    Description

    The scopes of the M2M token.

  • Name
    subject
    Type
    string
    Description

    The subject of the M2M token.

  • Name
    token?
    Type
    string
    Description

    The token string.

  • Name
    updatedAt
    Type
    number
    Description

    The Unix timestamp when the M2M token was last updated.

Feedback

What did you think of this content?

Last updated on