public static handleUnsolicitedAuth ( string $authId, array $state, string $redirectTo ) | ||
$authId | string | The id of the authentication source that received the request. |
$state | array | A state array. |
$redirectTo | string | The URL we should redirect the user to after updating the session. The function will check if the URL is allowed, so there is no need to manually check the URL on beforehand. Please refer to the 'trusted.url.domains' configuration directive for more information about allowing (or disallowing) URLs. |