apex_callback(request): no return value, called with route_url(‘apex_callback’, request)
This is the URL that Velruse returns an OpenID request to
change_password(request): no return value, called with route_url(‘apex_change_password’, request) FIXME doesn’t adjust auth_user based on local ID, how do we handle multiple
IDs that are local? Do we tell person that they don’t have local permissions?
no return value, called with route_url(‘apex_edit’, request)
This function will only work if you have set apex.auth_profile.
This is a very simple edit function it works off your auth_profile class, all columns inside your auth_profile class will be rendered.
No return value
Called when user hits a resource that requires a permission and the user doesn’t have the required permission. Will prompt for login.
request.environ[‘repoze.bfg.message’] contains our forbidden error in case of a csrf problem. Proper solution is probably an error page that can be customized.
bfg.routes.route and repoze.bfg.message are scheduled to be deprecated, however, corresponding objects are not present in the request to be able to determine why the Forbidden exception was called.
THIS WILL BREAK EVENTUALLY THIS DID BREAK WITH Pyramid 1.2a3
forgot_password(request): no return value, called with route_url(‘apex_forgot_password’, request)
No return value
Function called from route_url(‘apex_login’, request)
logout(request): no return value, called with route_url(‘apex_logout’, request)
no return value
If apex_settings.openid_required is set, and the ax/sx from the OpenID auth doesn’t return the required fields, this is called which builds a dynamic form to ask for the missing inforation.
Called on Registration or Login with OpenID Authentication.