public function __construct($data) { parent::__construct(array_replace_recursive(array('oauth' => array('token_endpoint_auth_method' => 'client_secret_basic', 'response_types' => array('code'), 'grant_types' => array('authorization_code'), 'application_type' => 'web')), $data)); }
public function __construct($realm) { parent::__construct(array('openid' => array('realm' => $realm, 'services' => NULL, 'discovery_time' => 0))); $this->cid = $realm; $this->store_id = self::buildID($realm); }