View Source Gamora.ErrorHandler behaviour (gamora v0.11.1)

The error handler behaviour.

Link to this section 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.

Link to this section Types

@type conn() :: Plug.Conn
@type response() :: map()

Link to this section Callbacks

Link to this callback

access_token_error(conn, response)

View Source
@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.