public function __construct()
 {
     parent::__construct();
     if (self::$metadata_map == NULL) {
         self::$metadata_map = array('client_name' => 'client_name', 'client_uri' => 'client_uri', 'client_secret' => 'oauth.client_secret', 'redirect_uris' => 'oauth.redirect_uris', 'application_type' => 'oauth.application_type', 'token_endpoint_auth_method' => 'oauth.token_endpoint_auth_method', 'response_types' => 'oauth.response_types', 'grant_types' => 'oauth.grant_types', 'contacts' => 'oauth.contacts', 'logo_uri' => 'oauth.logo_uri', 'policy_uri' => 'oauth.policy_uri', 'tos_uri' => 'oauth.tos_uri', 'jwk_uri' => 'oauth.jwk_uri', 'jwks' => 'oauth.jwks', 'sector_identifier_uri' => 'connect.sector_identifier_uri', 'subject_type' => 'connect.subject_type', 'id_token_signed_response_alg' => 'connect.id_token_signed_response_alg', 'id_token_encrypted_response_alg' => 'connect.id_token_encrypted_response_alg', 'id_token_encrypted_response_enc' => 'connect.id_token_encrypted_response_enc', 'userinfo_signed_response_alg' => 'connect.userinfo_signed_response_alg', 'userinfo_encrypted_response_alg' => 'connect.userinfo_encrypted_response_alg', 'userinfo_encrypted_response_enc' => 'connect.userinfo_encrypted_response_enc', 'request_object_signing_alg' => 'connect.request_object_signing_alg', 'request_object_encryption_alg' => 'connect.request_object_encryption_alg', 'request_object_encryption_enc' => 'connect.request_object_encryption_enc', 'token_endpoint_auth_signing_alg' => 'connect.token_endpoint_auth_signing_alg', 'default_max_age' => 'connect.default_max_age', 'require_auth_time' => 'connect.require_auth_time', 'default_acr_values' => 'connect.default_acr_values', 'initiate_login_uri' => 'connect.initiate_login_uri', 'request_uris' => 'connect.request_uris', 'post_logout_redirect_uri' => 'connect.post_logout_redirect_uri');
     }
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $mgr = ModuleManager::instance();
     $mgr->loadModule('SimpleID\\Protocols\\OAuth\\OAuthModule');
     $this->checkConfig();
 }