Sign in

Type: MonoCloudClientOptionsBase

Shared configuration options for MonoCloud OIDC clients.

These options are common to both MonoCloudOidcClientOptions and MonoCloudOidcBackendClientOptions.

Properties

PropertyTypeDescription
clientAuthMethod?ClientAuthMethodClient authentication method used when communicating with the token endpoint.
clientSecret?string | JwkClient secret or key material used for client authentication. When clientAuthMethod is client_secret_jwt and a plain-text secret is provided, the default signing algorithm is HS256. To use a different algorithm, provide a symmetric JSON Web Key (JWK) (kty: "oct") with the desired algorithm specified in its alg property.
fetcher?{(input: URL | RequestInfo, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; }Optional custom fetch implementation used for network requests.
jwksCacheDuration?numberDuration (in seconds) to cache the JSON Web Key Set (JWKS) retrieved from the authorization server.
metadataCacheDuration?numberDuration (in seconds) to cache OpenID Connect discovery metadata.
© 2024 MonoCloud. All rights reserved.