You are here

public static function OAuth2ClientInterface::setRedirect in OAuth2 Client 8

Save the information needed for redirection after getting the token.

1 method overrides OAuth2ClientInterface::setRedirect()
OAuth2Client::setRedirect in src/Service/OAuth2Client.php
Save the information needed for redirection after getting the token.

File

src/Service/OAuth2ClientInterface.php, line 45

Class

OAuth2ClientInterface
Interface OAuth2ClientInterface.

Namespace

Drupal\oauth2_client\Service

Code

public static function setRedirect($state, $redirect = NULL);