Sign in

Type: MonoCloudOidcClientBaseOptions

Constructor options for MonoCloudOidcClientBase.

Properties

PropertyTypeDescription
clientAuthMethod?ClientAuthMethodClient authentication method. Determines whether mTLS-aliased endpoints are used.
fetcher?{(input: URL | RequestInfo, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; }Custom fetch implementation used for making HTTP requests. Falls back to the global fetch if not provided.
jwksCacheDuration?numberDuration (in seconds) to cache the JSON Web Key Set (JWKS).
jwksResolver?() => Jwks | Promise<Jwks>Optional custom resolver for the JSON Web Key Set (JWKS), replacing the default JWKS request.
metadataCacheDuration?numberDuration (in seconds) to cache OpenID Connect discovery metadata.
metadataResolver?() => IssuerMetadata | Promise<IssuerMetadata>Optional custom resolver for the issuer metadata, replacing the default discovery request.
tenantDomainstringThe tenant domain URL.
trustStoreId?stringIdentifier of the trust store whose mTLS endpoint aliases should be used.
© 2024 MonoCloud. All rights reserved.