EncodedJwtAccessToken: {
    header: JwtHeader;
    payload: JwtAccessTokenPayload<Role, BaseUser<Role>>;
    signature: string;
}

An encoded jwt access token.

Type Parameters

  • Role extends string

Type declaration

  • header: JwtHeader

    The header of the jwt, contains mostly metadata.

  • payload: JwtAccessTokenPayload<Role, BaseUser<Role>>

    The payload of the jwt, everything that was put inside the token when generating it can be found here.

  • signature: string

    The signature of the jwt.