PHP Trait KnpU\OAuth2ClientBundle\Security\Helper\PreviousUrlHelper

Datei anzeigen Open project: knpuniversity/oauth2-client-bundle

Public Methods

Method Description
getPreviousUrl ( Request $request, string $providerKey ) : string Returns the URL (if any) the user visited that forced them to login.

Method Details

getPreviousUrl() public method

Returns the URL (if any) the user visited that forced them to login.
public getPreviousUrl ( Request $request, string $providerKey ) : string
$request Symfony\Component\HttpFoundation\Request
$providerKey string
return string