@@ -60,33 +60,33 @@ function run() {
60
60
$ pape_resp = Auth_OpenID_PAPE_Response::fromSuccessResponse ($ response );
61
61
62
62
if ($ pape_resp ) {
63
- if ($ pape_resp ->auth_policies ) {
64
- $ success .= "<p>The following PAPE policies affected the authentication:</p><ul> " ;
65
-
66
- foreach ($ pape_resp ->auth_policies as $ uri ) {
67
- $ escaped_uri = escape ($ uri );
68
- $ success .= "<li><tt> $ escaped_uri</tt></li> " ;
69
- }
70
-
71
- $ success .= "</ul> " ;
72
- } else {
73
- $ success .= "<p>No PAPE policies affected the authentication.</p> " ;
74
- }
75
-
76
- if ($ pape_resp ->auth_age ) {
77
- $ age = escape ($ pape_resp ->auth_age );
78
- $ success .= "<p>The authentication age returned by the " .
79
- "server is: <tt> " .$ age ."</tt></p> " ;
80
- }
81
-
82
- if ($ pape_resp ->nist_auth_level ) {
83
- $ auth_level = escape ($ pape_resp ->nist_auth_level );
84
- $ success .= "<p>The NIST auth level returned by the " .
85
- "server is: <tt> " .$ auth_level ."</tt></p> " ;
86
- }
63
+ if ($ pape_resp ->auth_policies ) {
64
+ $ success .= "<p>The following PAPE policies affected the authentication:</p><ul> " ;
65
+
66
+ foreach ($ pape_resp ->auth_policies as $ uri ) {
67
+ $ escaped_uri = escape ($ uri );
68
+ $ success .= "<li><tt> $ escaped_uri</tt></li> " ;
69
+ }
70
+
71
+ $ success .= "</ul> " ;
72
+ } else {
73
+ $ success .= "<p>No PAPE policies affected the authentication.</p> " ;
74
+ }
75
+
76
+ if ($ pape_resp ->auth_age ) {
77
+ $ age = escape ($ pape_resp ->auth_age );
78
+ $ success .= "<p>The authentication age returned by the " .
79
+ "server is: <tt> " .$ age ."</tt></p> " ;
80
+ }
81
+
82
+ if ($ pape_resp ->nist_auth_level ) {
83
+ $ auth_level = escape ($ pape_resp ->nist_auth_level );
84
+ $ success .= "<p>The NIST auth level returned by the " .
85
+ "server is: <tt> " .$ auth_level ."</tt></p> " ;
86
+ }
87
87
88
88
} else {
89
- $ success .= "<p>No PAPE response was sent by the provider.</p> " ;
89
+ $ success .= "<p>No PAPE response was sent by the provider.</p> " ;
90
90
}
91
91
}
92
92
0 commit comments