Skip to content

Commit 2456aa5

Browse files
author
tailor
committed
[project @ demo RP: indentation]
1 parent 1ca9541 commit 2456aa5

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

examples/consumer/finish_auth.php

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,33 +60,33 @@ function run() {
6060
$pape_resp = Auth_OpenID_PAPE_Response::fromSuccessResponse($response);
6161

6262
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+
}
8787

8888
} 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>";
9090
}
9191
}
9292

0 commit comments

Comments
 (0)