Boruta.Openid.SiopV2Response (Boruta core v3.0.0-beta.4)

View Source

Response in case of delivrance of Siop V2 flow

Summary

Types

t()

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

Functions

from_tokens(map, request)

redirect_to_deeplink(response, redirect_uri_url_fn)

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