IO Wallet SDK
    Preparing search index...

    Interface ExtractGrantDetailsResultV1_4

    Result of extracting grant details from an IT-Wallet v1.4 credential offer.

    Difference from v1.3: the credential offer no longer carries a scope; the wallet derives it from the credential configuration metadata instead.

    interface ExtractGrantDetailsResultV1_4 {
        authorizationCodeGrant: {
            authorizationServer?: string;
            issuerState?: string;
            scope?: undefined;
        };
        grantType: "authorization_code";
    }
    Index

    Properties

    authorizationCodeGrant: {
        authorizationServer?: string;
        issuerState?: string;
        scope?: undefined;
    }

    Details of the authorization code grant.

    Type Declaration

    • OptionalauthorizationServer?: string

      HTTPS URL of the Authorization Server. OPTIONAL, but REQUIRED when the Credential Issuer uses multiple Authorization Servers.

    • OptionalissuerState?: string

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

    • Optionalscope?: undefined

      Version 1.4 has dropped support for the scope field, But typescript inference might have trouble recognizing this fact in its union type, so this is needed

    grantType: "authorization_code"

    The type of grant present in the credential offer. IT-Wallet only supports "authorization_code".