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

Client context

# `authorized_scopes`

```elixir
@callback authorized_scopes(client :: Backplane.Oauth.Client.t()) :: [
  Backplane.Oauth.Scope.t()
]
```

Returns client authorized scopes. The scopes will be granted for every requests to the given client.

# `get_client`

```elixir
@callback get_client(id :: any()) :: client :: Backplane.Oauth.Client.t() | nil
```

Returns a `Backplane.Oauth.Client` given id.

# `list_clients_jwk`
*optional* 

```elixir
@callback list_clients_jwk() :: [%JOSE.JWK{fields: term(), keys: term(), kty: term()}]
```

Returns all clients jwk public keys

---

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