Interface CreateJwtConfigOptions

interface CreateJwtConfigOptions {
    aud: string[];
    expiration?: Partial<
        {
            accessToken: StringValue;
            refreshToken: StringValue;
            serviceAccountAccessToken: StringValue;
            subscriptionToken: StringValue;
            [expiresIn: string]: StringValue;
        },
    >;
    iss: string;
}

Properties

Properties

aud: string[]

JWT audience. Service which consumes the JWT

['bo', 'js', 'stk']
expiration?: Partial<
    {
        accessToken: StringValue;
        refreshToken: StringValue;
        serviceAccountAccessToken: StringValue;
        subscriptionToken: StringValue;
        [expiresIn: string]: StringValue;
    },
>

JWT expiration times

iss: string

JWT issuer. Service which issues the JWT (shortname)

'js'