get_authentication_policy
Description:
Used to decide what to do when the server redirects to the next page.
The default implementation always returns ALLOW .
This method is called before extract_authorization_code and can be used to block certain resources or to abort the authentication when the server redirects to an unexpected page (like when user denies authorization in the page).
Parameters:
this | |
source |
an associated Source |
uri |
a URI of the navigation resource |