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

OAuth application behaviour - revoke endpoint

Implement this behaviour in the application layer of your OAuth provider. The callbacks are triggered while calling functions from `Backplane.Oauth` module.

# `revoke_error`

```elixir
@callback revoke_error(conn :: Plug.Conn.t(), oauth_error :: Backplane.Oauth.Error.t()) ::
  any()
```

This function will be triggered in case of failure invoking `Backplane.Oauth.revoke/2`

# `revoke_success`

```elixir
@callback revoke_success(conn :: Plug.Conn.t()) :: any()
```

This function will be triggered in case of success invoking `Backplane.Oauth.revoke/2`

---

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