View Source Boruta.Oauth.PushedAuthorizationRequestApplication behaviour (Boruta core v3.0.0-beta.2)

OAuth application behaviour - pushed authorization endpoint

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

Summary

Callbacks

This function will be triggered in case of failure invoking Boruta.Oauth.pushed_authorization_request/2

This function will be triggered in case of success invoking Boruta.Oauth.pushed_authorization_request/2

Callbacks

Link to this callback

pushed_authorization_error(conn, error)

View Source
@callback pushed_authorization_error(
  conn :: Plug.Conn.t(),
  error :: Boruta.Oauth.Error.t()
) :: any()

This function will be triggered in case of failure invoking Boruta.Oauth.pushed_authorization_request/2

Link to this callback

request_stored(conn, response)

View Source
@callback request_stored(
  conn :: Plug.Conn.t(),
  response :: Boruta.Oauth.PushedAuthorizationResponse.t()
) :: any()

This function will be triggered in case of success invoking Boruta.Oauth.pushed_authorization_request/2