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

Check OpenID Connect nonce against given request

Summary

Functions

Authorize the given request corresponding the nonce value.

Types

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

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