fkooman\OAuth\Client\ClientConfig::getAuthorizeEndpoint PHP Method

getAuthorizeEndpoint() public method

    public function getAuthorizeEndpoint()
    {
        return $this->authorizeEndpoint;
    }

Usage Example

 public function testLessSimple()
 {
     $data = array('client_id' => 'foo', 'client_secret' => 'bar', 'authorize_endpoint' => 'http://www.example.org/authorize', 'token_endpoint' => 'http://www.example.org/token', 'redirect_uri' => 'http://www.example.org/callback', 'credentials_in_request_body' => true);
     $c = new ClientConfig($data);
     $this->assertEquals('foo', $c->getClientId());
     $this->assertEquals('bar', $c->getClientSecret());
     $this->assertEquals('http://www.example.org/authorize', $c->getAuthorizeEndpoint());
     $this->assertEquals('http://www.example.org/token', $c->getTokenEndpoint());
     $this->assertEquals('http://www.example.org/callback', $c->getRedirectUri());
     $this->assertTrue($c->getCredentialsInRequestBody());
 }
All Usage Examples Of fkooman\OAuth\Client\ClientConfig::getAuthorizeEndpoint