createOnlinePresentationSession
Create an online presentation session compliant with the ISO 18013-7 and OpenID4VP.
Return
Parameters
request_uri
parameter, defined in authorizationRequestUri See also: ISO 18013-7, section B.4.2.2.
Device authentication option to be used for mobile credentials which are presented in the established session.
When requireTrustedVerifier
is true
, the signed request object (represented as a JWT), retrieved from the authorizationRequestUri
, can only be validated using stored verifier certificates. When requireTrustedVerifier
is false
, verification is first attempted using stored verifier certificates. If it fails, the client's metadata is resolved and the JWKs from this metadata are used to validate the signed request object. Defaults to false
.
Throws
If the SDK API is called before the SDK is initialized.
If the authorization request URI is invalid.
If the verification certificate is invalid.
If there is a connectivity issue while requesting the authorization object.
If the response mode is not supported.
If any error occurs during the verification process.
If the algorithm is not supported.