IO Wallet SDK
    Preparing search index...

    Interface ParseCredentialOfferUriOptions

    Options for parsing a credential offer URI.

    Version-agnostic: IT-Wallet v1.3 and v1.4 share the same invocation schemes.

    interface ParseCredentialOfferUriOptions {
        allowedSchemes?: string[];
        uri: string;
    }
    Index

    Properties

    Properties

    allowedSchemes?: string[]

    Allowed URL schemes for the credential offer URI.

    Defaults to: ["openid-credential-offer", "haip-vci", "https"]

    ["openid-credential-offer", "haip-vci", "https"]
    
    uri: string

    The credential offer URI to parse.

    Supported formats:

    // By value with custom scheme
    const uri1 = "openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A...";

    // By reference with HTTPS Universal Link
    const uri2 = "https://wallet.example.com/credential-offer?credential_offer_uri=https://issuer.example.com/offers/123";