diff options
Diffstat (limited to 'examples/consumer/common.php')
-rw-r--r-- | examples/consumer/common.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/consumer/common.php b/examples/consumer/common.php index ba287c6..5e63fce 100644 --- a/examples/consumer/common.php +++ b/examples/consumer/common.php @@ -27,10 +27,22 @@ function doIncludes() { * Require the Simple Registration extension API. */ require_once "Auth/OpenID/SReg.php"; + + /** + * Require the PAPE extension module. + */ + require_once "Auth/OpenID/PAPE.php"; } doIncludes(); +global $pape_policy_uris; +$pape_policy_uris = array( + PAPE_AUTH_MULTI_FACTOR_PHYSICAL, + PAPE_AUTH_MULTI_FACTOR, + PAPE_AUTH_PHISHING_RESISTANT + ); + function &getStore() { /** * This is where the example will store its OpenID information. |