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

OAuth application behaviour - introspect endpoint

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

# `introspect_error`

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

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

# `introspect_success`

```elixir
@callback introspect_success(
  conn :: Plug.Conn.t(),
  introspect_response :: Backplane.Oauth.IntrospectResponse.t()
) :: any()
```

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

---

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