View Source Boruta.Oauth.Authorization.Nonce protocol (Boruta core v2.0.0)

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

Link to this section Functions

Specs

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

iex> authorize(%CodeRequest{...})
:ok