IO Wallet SDK
    Preparing search index...

    Interface ResolveCredentialOfferOptionsV1_3

    Options for resolving a credential offer against the IT-Wallet v1.3 schema.

    interface ResolveCredentialOfferOptionsV1_3 {
        callbacks: Pick<CallbackContext, "fetch">;
        config: IoWalletSdkConfig<V1_3>;
        credentialOffer: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    callbacks: Pick<CallbackContext, "fetch">

    Callback context with fetch implementation.

    Required for resolving credential offers by reference (credential_offer_uri). The fetch function will be used to retrieve the credential offer from the remote URL.

    config: IoWalletSdkConfig<V1_3>
    credentialOffer: string

    The credential offer to resolve.

    Can be:

    • A credential offer URI (openid-credential-offer://, haip-vci://, or https://)
    • A direct JSON string representation of the credential offer
    // URI by value
    const offer1 = "openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A...";

    // URI by reference
    const offer2 = "haip-vci://?credential_offer_uri=https://issuer.example.com/offers/123";

    // Direct JSON
    const offer3 = '{"credential_issuer":"https://issuer.example.com","credential_configuration_ids":["UniversityDegree"],"grants":{"authorization_code":{"scope":"openid"}}}';