mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 11:52:34 +01:00
Fixes for CodeStyle
This commit is contained in:
parent
75749ef336
commit
234dd26d22
@ -65,10 +65,8 @@ class Saml2Service extends ExternalAuthService
|
||||
$nameIdFormat = env('SAML2_SP_NAME_ID_Format', null);
|
||||
$nameIdSPNameQualifier = env('SAML2_SP_NAME_ID_SP_NAME_QUALIFIER', null);
|
||||
|
||||
|
||||
$url = $toolKit->logout($returnRoute, [], $email, null, true, $nameIdFormat, null, $nameIdSPNameQualifier);
|
||||
$id = $toolKit->getLastRequestID();
|
||||
|
||||
} catch (Error $error) {
|
||||
if ($error->getCode() !== Error::SAML_SINGLE_LOGOUT_NOT_SUPPORTED) {
|
||||
throw $error;
|
||||
|
@ -147,9 +147,9 @@ return [
|
||||
// Multiple forced values can be passed via a space separated array, For example:
|
||||
// SAML2_IDP_AUTHNCONTEXT="urn:federation:authentication:windows urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport"
|
||||
'requestedAuthnContext' => is_string($SAML2_IDP_AUTHNCONTEXT) ? explode(' ', $SAML2_IDP_AUTHNCONTEXT) : $SAML2_IDP_AUTHNCONTEXT,
|
||||
'logoutRequestSigned' => env('', false),
|
||||
'logoutResponseSigned' => env('', false),
|
||||
'lowercaseUrlencoding' => env('', false)
|
||||
'logoutRequestSigned' => env('SAML2_LOGOUT_REQUEST_SIGNED', false),
|
||||
'logoutResponseSigned' => env('SAML2_LOGOUT_RESPONSE_SIGNED', false),
|
||||
'lowercaseUrlencoding' => env('SAML2_LOWERCASE_URLENCODING', false)
|
||||
],
|
||||
],
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user