public function getLoginUrl(array $options = [])
    {
        $url = $this->provider->getAuthorizationUrl($options);
        $this->store->set('oauth2state', $this->provider->getState());
        return $url;
    }
public function getLoginUrl(array $options = [])
    {
        $url = $this->provider->getAuthorizationUrl($options);
        $this->store->set('oauth2state', $this->provider->getState());
        return $url;
    }
public function getLoginUrl ( array $ options = [ ] ) { $ url = $ this -> provider -> getAuthorizationUrl ( $ options ) ; $ this -> store -> set ( 'oauth2state' , $ this -> provider -> getState ( ) ) ; return $ url ; }
Sets CSRF value and returns the login URL.

@param array $options

@return string

@see League\OAuth2\Client\Provider\AbstractProvider::getAuthorizationUrl()
Sets CSRF value and returns the login URL .