View Source Boruta.Oauth.PushedAuthorizationRequestApplication behaviour (Boruta ssi core v0.1.0-beta.1)
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
@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
@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