View Source Boruta.Oauth.Authorization.Nonce protocol (Boruta core v2.1.5)
Check OpenID Connect nonce against given request
Link to this section Summary
Functions
Authorize the given request corresponding the nonce value.
Link to this section Types
@type t() :: term()
Link to this section Functions
@spec authorize( request :: Boruta.Oauth.CodeRequest.t() | Boruta.Oauth.TokenRequest.t() ) :: :ok | {:error, Boruta.Oauth.Error.t()}
Authorize the given request corresponding the nonce value.
examples
Examples
iex> authorize(%CodeRequest{...})
:ok