AutoBE
    Preparing search index...

    Interface IAuthorizationToken

    Authorization token response structure.

    This interface defines the structure of the authorization token response returned after successful user authentication. It contains both access and refresh tokens along with their expiration information.

    This token structure is automatically included in API schemas when the system detects authorization roles in the requirements analysis phase. It provides a standard format for JWT-based authentication across the generated backend applications.

    Samchon

    interface IAuthorizationToken {
        access: string;
        expired_at: string & Format<"date-time">;
        refresh: string;
        refreshable_until: string & Format<"date-time">;
    }
    Index

    Properties

    access: string

    JWT access token for authenticated requests.

    This token should be included in the Authorization header for subsequent authenticated API requests as Bearer {token}.

    expired_at: string & Format<"date-time">

    Access token expiration timestamp.

    ISO 8601 date-time string indicating when the access token will expire and can no longer be used for authentication.

    refresh: string

    Refresh token for obtaining new access tokens.

    This token can be used to request new access tokens when the current access token expires, extending the user's session.

    refreshable_until: string & Format<"date-time">

    Refresh token expiration timestamp.

    ISO 8601 date-time string indicating the latest time until which the refresh token can be used to obtain new access tokens.