MonoCloud Authentication SDK
    Preparing search index...

    Configuration options used to initialize the MonoCloudClient.

    interface MonoCloudClientOptions {
        clientAuthMethod?: ClientAuthMethod;
        clientSecret?: string | Jwk;
        idTokenSigningAlgorithm?: SecurityAlgorithms;
        jwksCacheDuration?: number;
        metadataCacheDuration?: number;
    }
    Index

    Properties

    clientAuthMethod?: ClientAuthMethod

    Client authentication method used when communicating with the token endpoint.

    clientSecret?: string | Jwk

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

    idTokenSigningAlgorithm?: SecurityAlgorithms

    Expected signing algorithm for validating ID tokens.

    'RS256'
    
    jwksCacheDuration?: number

    Duration (in seconds) to cache the JSON Web Key Set (JWKS) retrieved from the authorization server.

    300
    
    metadataCacheDuration?: number

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

    300