Check OpenID Connect nonce against given request
Summary
Functions
Authorize the given request corresponding the nonce value.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
@spec authorize( request :: Backplane.Oauth.CodeRequest.t() | Backplane.Oauth.TokenRequest.t() ) :: :ok | {:error, Backplane.Oauth.Error.t()}
Authorize the given request corresponding the nonce value.
Examples
iex> authorize(%CodeRequest{...})
:ok