View Source Boruta.Openid.DirectPostApplication behaviour (Boruta core v3.0.0-beta.1)
Implement this behaviour in the application layer of your OpenID SiopV2 provider.
This behaviour gives all callbacks triggered invoking Boruta.Openid.direct_post/3
function.
Summary
Callbacks
@callback authentication_failure(conn :: Plug.Conn.t(), error :: Boruta.Oauth.Error.t()) :: any()
@callback code_not_found(conn :: Plug.Conn.t()) :: any()
@callback direct_post_success( conn :: Plug.Conn.t() | map(), response :: any() ) :: any()