public __construct ( array $options ) | ||
$options | array | Associative array containing `provider`, `userName`, `clientSecret`, `clientId` and `refreshToken` elements |
public function __construct($options)
{
$this->provider = $options['provider'];
$this->oauthUserEmail = $options['userName'];
$this->oauthClientSecret = $options['clientSecret'];
$this->oauthClientId = $options['clientId'];
$this->oauthRefreshToken = $options['refreshToken'];
}