Gamora.ErrorHandler behaviour (gamora v0.15.0)

View Source

The error handler behaviour.

Summary

Callbacks

This callbacks is called when the access token couldn't be validated or the OpenID Connect Provider returned that it was invalid or expired.

Types

conn()

@type conn() :: Plug.Conn

response()

@type response() :: map()

Callbacks

access_token_error(conn, response)

@callback access_token_error(conn(), response()) :: conn()

This callbacks is called when the access token couldn't be validated or the OpenID Connect Provider returned that it was invalid or expired.