# `Backplane.Oauth.Openid.DynamicRegistrationApplication`
[🔗](https://github.com/gsmlg-opt/backplane/blob/v1.10.77/apps/backplane_oauth/lib/backplane/oauth/openid/applications/dynamic_registration_application.ex#L1)

Implement this behaviour in the application layer of your OpenID Connect provider.
This behaviour gives all callbacks triggered invoking `Backplane.Oauth.Openid.register_client/3` function.

# `client_registered`

```elixir
@callback client_registered(conn :: Plug.Conn.t(), client :: Backplane.Oauth.Client.t()) ::
  any()
```

This function will be triggered when request is unauthorized invoking `Backplane.Oauth.Openid.register_client/3`

# `registration_failure`

```elixir
@callback registration_failure(conn :: Plug.Conn.t(), changeset :: Ecto.Changeset.t()) ::
  any()
```

This function will be triggered when request is unauthorized invoking `Backplane.Oauth.Openid.register_client/3`

---

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