Type Alias ClientSigning
ClientSigning:
| { secret: string; secretId?: string; type: "client_secret" }
| {
algorithm: "ES256";
jwtParams: JWTPayload;
keyId: string;
privateKey: string;
type: "private_key_jwt";
}
| { secret: string; secretId?: string; type: "client_secret" }
| {
algorithm: "ES256";
jwtParams: JWTPayload;
keyId: string;
privateKey: string;
type: "private_key_jwt";
}
Type declaration
- { secret: string; secretId?: string; type: "client_secret" }
secret: string
The actual secret given by the server
OptionalsecretId?: stringSecret ID (provided by Microsoft)
type: "client_secret"
Type
- {
algorithm: "ES256";
jwtParams: JWTPayload;
keyId: string;
privateKey: string;
type: "private_key_jwt";
}algorithm: "ES256"
Algorithm to use
jwtParams: JWTPayload
JWT Token values to use
keyId: string
Key ID (provided by the server)
privateKey: string
Private key
type: "private_key_jwt"
Type
Stores a client secret configuration