MonoCloud Authentication SDK
    Preparing search index...

    Interface MonoCloudOidcClientBaseOptions

    Constructor options for MonoCloudOidcClientBase.

    interface MonoCloudOidcClientBaseOptions {
        clientAuthMethod?: ClientAuthMethod;
        fetcher?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        jwksCacheDuration?: number;
        jwksResolver?: () => Jwks | Promise<Jwks>;
        metadataCacheDuration?: number;
        metadataResolver?: () => IssuerMetadata | Promise<IssuerMetadata>;
        tenantDomain: string;
        trustStoreId?: string;
    }
    Index
    clientAuthMethod?: ClientAuthMethod

    Client 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.

    Type Declaration

      • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | URL | Request, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | URL | Request
        • Optionalinit: RequestInit

        Returns Promise<Response>

    jwksCacheDuration?: number

    Duration (in seconds) to cache the JSON Web Key Set (JWKS).

    300
    
    jwksResolver?: () => Jwks | Promise<Jwks>

    Optional custom resolver for the JSON Web Key Set (JWKS), replacing the default JWKS request.

    metadataCacheDuration?: number

    Duration (in seconds) to cache OpenID Connect discovery metadata.

    300
    
    metadataResolver?: () => IssuerMetadata | Promise<IssuerMetadata>

    Optional custom resolver for the issuer metadata, replacing the default discovery request.

    tenantDomain: string

    The tenant domain URL.

    trustStoreId?: string

    Identifier of the trust store whose mTLS endpoint aliases should be used.