SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias GenerateUserAPITokenResponse

    GenerateUserAPITokenResponse: Message<
        "soulfire.v1.GenerateUserAPITokenResponse",
    > & { token: string }

    Response message containing the newly generated API token.

    Type Declaration

    • token: string

      The generated JWT token for API authentication. This token is signed with the server's secret key and has the "api" audience. The token does not expire but can be invalidated by updating the user's min_issued_at. Should be stored securely as it grants full access as the specified user.

      from field: string token = 1;

    from message soulfire.v1.GenerateUserAPITokenResponse