Type alias SigningOptions

SigningOptions: {
    expires: {
        in: `${number}${TimeSpecifier}`;
    } | {
        at: Date | EpochSeconds;
    };
    issuer?: string;
}

Options for signing the JWT.

Type declaration

  • expires: {
        in: `${number}${TimeSpecifier}`;
    } | {
        at: Date | EpochSeconds;
    }

    JWT expiration configuration.

    Either specify expires.in or expires.at. expires.at takes precedence.

    expires.at

  • Optional issuer?: string

    The issuer of the JWT. Should be set to your domain name. Defaults to ${keyId}.client.statebacked.dev.

Generated using TypeDoc