# `Backplane.Oauth.Authorization.Nonce`
[🔗](https://github.com/gsmlg-opt/backplane/blob/v1.10.77/apps/backplane_oauth/lib/backplane/oauth/authorization/nonce.ex#L1)

Check OpenID Connect nonce against given request

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `authorize`

```elixir
@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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
