IO Wallet SDK
    Preparing search index...

    Interface ExtractGrantDetailsOptionsV1_3

    Options for extracting grant details from an IT-Wallet v1.3 credential offer.

    interface ExtractGrantDetailsOptionsV1_3 {
        config: IoWalletSdkConfig<V1_3>;
        credentialOffer: {
            credential_configuration_ids: string[];
            credential_issuer: string;
            grants: {
                authorization_code: {
                    authorization_server?: string;
                    issuer_state?: string;
                    scope: string;
                };
            };
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    config: IoWalletSdkConfig<V1_3>
    credentialOffer: {
        credential_configuration_ids: string[];
        credential_issuer: string;
        grants: {
            authorization_code: {
                authorization_server?: string;
                issuer_state?: string;
                scope: string;
            };
        };
    }

    The credential offer to extract grant details from.

    Type Declaration

    • credential_configuration_ids: string[]

      REQUIRED. Array of credential configuration identifiers. References the types of credentials offered as defined in the Credential Issuer metadata.

    • credential_issuer: string

      REQUIRED. HTTPS URL of the Credential Issuer. The Credential Issuer from which the wallet will request credentials.

    • grants: {
          authorization_code: {
              authorization_server?: string;
              issuer_state?: string;
              scope: string;
          };
      }

      REQUIRED. Grant information for the credential offer. IT-Wallet v1.3 requires authorization_code grant.

      • authorization_code: { authorization_server?: string; issuer_state?: string; scope: string }

        REQUIRED. Authorization Code grant details. IT-Wallet v1.3 only supports authorization_code grant.

        • Optionalauthorization_server?: string

          CONDITIONALLY REQUIRED. HTTPS URL of the Authorization Server. REQUIRED only when the Credential Issuer uses multiple Authorization Servers. If present, MUST match one of the authorization_servers in the Credential Issuer metadata.

        • Optionalissuer_state?: string

          OPTIONAL. String value representing the issuer state. Used to correlate the authorization request with the credential offer.

        • scope: string

          REQUIRED. OAuth 2.0 scope value. Defines the scope of access requested by the credential offer.