Bigfork\SilverStripeOAuth\Client\Control\Controller::authenticate
This takes parameters like the provider, scopes and callback url, builds an authentication url with the provider's site and then redirects to it
Signature
public function authenticate(HTTPRequest
$request )
Parameters
$request
— SilverStripe\Control\HTTPRequest
Returns
- HTTPResponse
Errors/Exceptions
Line | Task |
---|---|
91+ | allow whitelisting of scopes (per provider)? |