Requests credentials based on the provided options.
An optional state correlation reference can be supplied via RequestCredentialsOptions to link the session to a
record in your own system. When provided it must be a non-empty string, and is carried through the presentation session
and echoed back on the result: on RequestCredentialsResponse for cross-device flows, and via
handleRedirectCallback() for same-device flows. Because state is transmitted in plain text on the wallet-facing
request URI and stored in session records, it must not contain personally identifiable information (PII), credentials, or
other sensitive data. When omitted, the OpenID4VP state claim falls back to the internal sessionId and no state is
returned.
Requests credentials based on the provided options.
An optional
statecorrelation reference can be supplied via RequestCredentialsOptions to link the session to a record in your own system. When provided it must be a non-empty string, and is carried through the presentation session and echoed back on the result: on RequestCredentialsResponse for cross-device flows, and viahandleRedirectCallback()for same-device flows. Becausestateis transmitted in plain text on the wallet-facing request URI and stored in session records, it must not contain personally identifiable information (PII), credentials, or other sensitive data. When omitted, the OpenID4VPstateclaim falls back to the internalsessionIdand nostateis returned.