Skip to content

default

default: Definition<{
algorithms: readonly [
| "RS256"
| "RS384"
| "RS512"
| "PS256"
| "PS384"
| "PS512"
| "ES256"
| "ES384"
| "ES512"
| "EdDSA",
| "RS256"
| "RS384"
| "RS512"
| "PS256"
| "PS384"
| "PS512"
| "ES256"
| "ES384"
| "ES512"
| "EdDSA"];
audience: readonly [string, string];
clockTolerance: Duration;
identityClaim: string;
issuer: string;
keys: | {
jwksUrl: string;
publicKey?: undefined;
}
| {
jwksUrl?: undefined;
publicKey: string;
};
}, {
algorithms: readonly [
| "RS256"
| "RS384"
| "RS512"
| "PS256"
| "PS384"
| "PS512"
| "ES256"
| "ES384"
| "ES512"
| "EdDSA",
| "RS256"
| "RS384"
| "RS512"
| "PS256"
| "PS384"
| "PS512"
| "ES256"
| "ES384"
| "ES512"
| "EdDSA"];
audience: readonly [string, string];
clockTolerance?: string;
identityClaim?: string;
issuer: string;
keys: | {
jwksUrl: string;
publicKey?: undefined;
}
| {
jwksUrl?: undefined;
publicKey: string;
};
}, PlatformError | SchemaError | ServiceConflict | JoseError>;

Defined in: runner/auth/jwt.ts:34