IO Wallet SDK
    Preparing search index...

    Interface BaseAuthorizationServerMetadata

    Lean Authorization Server Metadata interface consumed by the oauth2 package.

    This interface captures only the fields that this package actually reads, keeping it free of any dependency on the oid-federation package and preventing a circular build dependency between the two packages.

    In practice callers pass the richer types produced by @pagopa/io-wallet-oid-federation (e.g. ItWalletAuthorizationServerMetadataV1_3); those types satisfy this interface structurally, so no explicit cast is required at call sites.

    interface BaseAuthorizationServerMetadata {
        code_challenge_methods_supported: string[];
        issuer: string;
        require_signed_request_object?: boolean;
        token_endpoint_auth_methods_supported?: string[];
    }
    Index

    Properties

    code_challenge_methods_supported: string[]

    List of PKCE code-challenge transformation methods supported by the server.

    IT-Wallet mandates that "S256" be present.

    issuer: string

    URL that uniquely identifies the Authorization Server.

    Used as the expected aud claim when verifying JAR request objects and as the authorization_server value when creating Client Attestation PoP JWTs.

    require_signed_request_object?: boolean

    When true the server mandates that every authorization request be sent as a signed JWT (JAR). Unsigned PAR bodies are rejected in that case.

    Defaults to false when absent (permissive mode).

    false
    
    token_endpoint_auth_methods_supported?: string[]

    Client authentication methods supported by the token endpoint.

    The oauth2 package inspects this array for the "attest_jwt_client_auth" value to determine whether Wallet Attestation–based client authentication is available.