original_string: private function extractAuthEndpoint()
      {
          $auth = empty($this->config['auth_endpoint']) ? self::DEFAULT_AUTH_ENDPOINT : $this->config['auth_endpoint'];
  
          switch ($auth) {
              case Endpoint::UK:
                  $endpoint = Rackspace::UK_IDENTITY_ENDPOINT;
                  break;
              case Endpoint::US:
                  $endpoint = Rackspace::US_IDENTITY_ENDPOINT;
                  break;
              default:
                  $endpoint = $auth;
                  break;
          }
  
          return Url::factory($endpoint);
      }
code: private function extractAuthEndpoint()
      {
          $auth = empty($this->config['auth_endpoint']) ? self::DEFAULT_AUTH_ENDPOINT : $this->config['auth_endpoint'];
  
          switch ($auth) {
              case Endpoint::UK:
                  $endpoint = Rackspace::UK_IDENTITY_ENDPOINT;
                  break;
              case Endpoint::US:
                  $endpoint = Rackspace::US_IDENTITY_ENDPOINT;
                  break;
              default:
                  $endpoint = $auth;
                  break;
          }
  
          return Url::factory($endpoint);
      }
code_tokens: private function extractAuthEndpoint ( ) { $ auth = empty ( $ this -> config [ 'auth_endpoint' ] ) ? self :: DEFAULT_AUTH_ENDPOINT : $ this -> config [ 'auth_endpoint' ] ; switch ( $ auth ) { case Endpoint :: UK : $ endpoint = Rackspace :: UK_IDENTITY_ENDPOINT ; break ; case Endpoint :: US : $ endpoint = Rackspace :: US_IDENTITY_ENDPOINT ; break ; default : $ endpoint = $ auth ; break ; } return Url :: factory ( $ endpoint ) ; }
docstring: Searchs the configuration values provided and attempts to build a suitable URL for authentication.
  
  @return \Guzzle\Http\Url
docstring_tokens: Searchs the configuration values provided and attempts to build a suitable URL for authentication .