View Source Boruta.Oauth.Authorization.Nonce protocol (Boruta ssi core v0.1.0-beta.1)
Check OpenID Connect nonce against given request
Summary
Functions
Authorize the given request corresponding the nonce value.
Types
@type t() :: term()
Functions
@spec authorize( request :: Boruta.Oauth.CodeRequest.t() | Boruta.Oauth.TokenRequest.t() | Boruta.Oauth.PresentationRequest.t() ) :: :ok | {:error, Boruta.Oauth.Error.t()}
Authorize the given request corresponding the nonce value.
Examples
iex> authorize(%CodeRequest{...})
:ok