You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->logger->debug('Checking support on guard authenticator.', ['firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)]);
47
+
}
48
+
49
+
if ($guardAuthenticator->supports($request)) {
50
+
$guardAuthenticators[$key] = $guardAuthenticator;
51
+
} elseif (null !== $this->logger) {
52
+
$this->logger->debug('Guard authenticator does not support the request.', ['firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)]);
$this->logger->debug('Checking support on guard authenticator.', ['firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)]);
81
-
}
82
-
83
-
if ($guardAuthenticator->supports($request)) {
84
-
$guardAuthenticators[$key] = $guardAuthenticator;
85
-
} elseif (null !== $this->logger) {
86
-
$this->logger->debug('Guard authenticator does not support the request.', ['firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)]);
$this->logger->debug('The "{authenticator}" authenticator set the response. Any later authenticator will not be called', ['authenticator' => \get_class($guardAuthenticator)]);
thrownew \UnexpectedValueException(sprintf('The return value of "%1$s::getCredentials()" must not be null. Return false from "%1$s::supports()" instead.', get_debug_type($guardAuthenticator)));
138
-
}
139
-
140
-
// create a token with the unique key, so that the provider knows which authenticator to use
$this->logger->debug('Passing guard token information to the GuardAuthenticationProvider', ['firewall_key' => $this->providerKey, 'authenticator' => \get_class($guardAuthenticator)]);
145
-
}
146
-
// pass the token into the AuthenticationManager system
147
-
// this indirectly calls GuardAuthenticationProvider::authenticate()
$this->logger->debug('Remember me skipped: it is not configured for the firewall.', ['authenticator' => \get_class($guardAuthenticator)]);
207
-
}
208
-
209
-
return;
210
-
}
211
-
212
-
if (!$guardAuthenticator->supportsRememberMe()) {
213
-
if (null !== $this->logger) {
214
-
$this->logger->debug('Remember me skipped: your authenticator does not support it.', ['authenticator' => \get_class($guardAuthenticator)]);
215
-
}
216
-
217
-
return;
218
-
}
219
-
220
-
if (!$responseinstanceof Response) {
221
-
thrownew \LogicException(sprintf('"%s::onAuthenticationSuccess()" *must* return a Response if you want to use the remember me functionality. Return a Response, or set remember_me to false under the guard configuration.', get_debug_type($guardAuthenticator)));
0 commit comments