3 namespace BookStack\Auth\Access\Guards;
8 * The saml2 login process is async in nature meaning it does not fit very well
9 * into the default laravel 'Guard' auth flow. Instead most of the logic is done
10 * via the Saml2 controller & Saml2Service. This class provides a safer, thin
11 * version of SessionGuard.
13 class Saml2SessionGuard extends ExternalBaseSessionGuard
16 * Validate a user's credentials.
18 * @param array $credentials
22 public function validate(array $credentials = [])
28 * Attempt to authenticate a user using the given credentials.
30 * @param array $credentials
31 * @param bool $remember
35 public function attempt(array $credentials = [], $remember = false)