masto
    Preparing search index...

    Interface Token

    Represents an OAuth token used for authenticating with the API and performing actions.

    interface Token {
        accessToken: string;
        createdAt: number;
        scope: string;
        tokenType: string;
    }
    Index

    Properties

    accessToken: string

    An OAuth token to be used for authorization.

    createdAt: number

    When the token was generated.

    scope: string

    The OAuth scopes granted by this token, space-separated.

    tokenType: string

    The OAuth token type. Mastodon uses Bearer tokens.