View Source Boruta.Openid.VerifiablePresentationResponse (Boruta core v3.0.0-beta.3)

Response in case of delivrance of Siop V2 flow

Summary

Types

@type t() :: %Boruta.Openid.VerifiablePresentationResponse{
  client: Boruta.Oauth.Client.t(),
  client_id: String.t(),
  code: Boruta.Oauth.Token.t(),
  issuer: String.t(),
  nonce: String.t(),
  presentation_definition: map(),
  redirect_uri: String.t(),
  response_mode: String.t(),
  response_type: String.t(),
  scope: String.t()
}

Functions

Link to this function

from_tokens(map, request)

View Source
Link to this function

redirect_to_deeplink(response, redirect_uri_url_fn)

View Source
@spec redirect_to_deeplink(
  response :: t(),
  redirect_uri_url_fn :: (code :: String.t() -> url :: String.t())
) :: deeplink :: String.t() | {:error, reason :: String.t()}