fkooman\OAuth\Client\ClientConfigTest::validClients PHP Method

validClients() public method

public validClients ( )
    public function validClients()
    {
        return array(array(array('client_id' => 'foo', 'client_secret' => 'bar', 'authorize_endpoint' => 'http://www.example.org/authorize', 'token_endpoint' => 'http://www.example.org/token')), array(array('client_id' => 'foo', 'client_secret' => 'bar', 'authorize_endpoint' => 'http://www.example.org/authorize', 'token_endpoint' => 'http://www.example.org/token', 'credentials_in_request_body' => true, 'redirect_uri' => 'http://www.example.org/callback')), array(array('foo' => 'bar', 'xyz' => 'abc', 'client_id' => 'foo', 'client_secret' => 'bar', 'authorize_endpoint' => 'http://www.example.org/authorize', 'token_endpoint' => 'http://www.example.org/token')), array(array('client_id' => 'foo', 'client_secret' => null, 'authorize_endpoint' => 'http://www.example.org/authorize', 'token_endpoint' => 'http://www.example.org/token')), array(array('client_id' => 'foo', 'client_secret' => null, 'authorize_endpoint' => 'http://www.example.org/authorize', 'token_endpoint' => 'http://www.example.org/token', 'default_token_token' => 'bearer')));
    }