UMIS SDK
    Preparing search index...

    Function parseVpRequest

    • Reads an OpenID4VP 1.0 authorization request that comes by value in an openid4vp:// link or QR code (the address openid4vp://?... or openid4vp://authorize?...). UMIS takes one kind of request: response_type=vp_token and response_mode=direct_post, a client_id of the form redirect_uri:<response_uri> whose address is the response_uri (which must be https, or http on the local machine), a nonce, an optional state and a dcql_query that asks for dc+sd-jwt credentials by vct_values and for whole UMIS claims by path. The request is not signed, so the name in client_metadata is the verifier's own word.

      Text that is not an openid4vp:// address is UNSUPPORTED_FORMAT. A request that is damaged is MALFORMED. A request that is well formed but outside what UMIS takes is PROTOCOL: one that names a parameter twice, one by reference (request_uri) or signed (request), one with transaction_data (UMIS knows no transaction data type), another response type or mode (direct_post.jwt among them), another kind of client identifier, a client_id and response_uri that differ, and a query with features or claim paths beyond the above.

      Parameters

      • walletUri: string

      Returns ParsedVpRequest