public function __construct($provider_name, $settings) { parent::__construct($provider_name, $settings); $this->openid = new Vendor_LightOpenID(); // Is this a generic OpenID, or a specific ("branded" / shows button on login page) one? $this->generic = $provider_name == 'openid'; }
public function __construct($provider_name, $options) { parent::__construct($provider_name, $options); $this->oauth = new OAuth($options['key'], $options['secret'], OAUTH_SIG_METHOD_HMACSHA1, OAUTH_AUTH_TYPE_URI); }