Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • AbstractProviderTest
  • Fake
  • Generic
  • GenericProviderTest
  • Overview
  • Namespace
  • Class
  • Download

Class AbstractProviderTest

PHPUnit\Framework\TestCase
Extended by League\OAuth2\Client\Test\Provider\AbstractProviderTest
Namespace: League\OAuth2\Client\Test\Provider
Located at test/src/Provider/AbstractProviderTest.php
Methods summary
protected
# setUp( )
public
# testInvalidGrantString( )

Expectedexception

League\OAuth2\Client\Grant\Exception\InvalidGrantException
public
# testInvalidGrantObject( )

Expectedexception

League\OAuth2\Client\Grant\Exception\InvalidGrantException
public
# testAuthorizationUrlStateParam( )
public
# testCustomAuthorizationUrlOptions( )

Tests https://github.com/thephpleague/oauth2-client/pull/485

Tests https://github.com/thephpleague/oauth2-client/pull/485

public
# testConstructorSetsProperties( )

Tests https://github.com/thephpleague/oauth2-client/issues/134

Tests https://github.com/thephpleague/oauth2-client/issues/134

public
# testConstructorSetsClientOptions( )
public
# testCanSetAProxy( )
public
# testCannotDisableVerifyIfNoProxy( )
public
# testCanDisableVerificationIfThereIsAProxy( )
public
# testConstructorSetsGrantFactory( )
public
# testConstructorSetsHttpAdapter( )
public
# testConstructorSetsRequestFactory( )
public
# testSetRedirectHandler( )
public
# testGetUserProperties( $response, $name = null, $email = null, $id = null )

Dataprovider

userPropertyProvider
public
# testGetUserPropertiesThrowsExceptionWhenNonJsonResponseIsReceived( )

Dataprovider

userPropertyProvider
public
# userPropertyProvider( )
public
# getHeadersTest( )
public
# testScopesOverloadedDuringAuthorize( )
public
# testAuthorizationStateIsRandom( )
public
# testErrorResponsesCanBeCustomizedAtTheProvider( )
public
# testClientErrorTriggersProviderException( )

Expectedexception

\League\OAuth2\Client\Provider\Exception\IdentityProviderException
public
# testGetResponse( )
public
# testAuthenticatedRequestAndResponse( )
public
# getAccessTokenMethodProvider( )
public
# testGetAccessToken( $method )

Dataprovider

getAccessTokenMethodProvider
public
# parseResponseProvider( )
public
# testParseResponse( $body, $type, $parsed )

Dataprovider

parseResponseProvider
public
# testParseResponseJsonFailure( )

Expectedexception

UnexpectedValueException
public
# getAppendQueryProvider( )
public
# testAppendQuery( $expected, $url, $query )

Dataprovider

getAppendQueryProvider
protected
# getAbstractProviderMock( )
public
# testDefaultAccessTokenMethod( )
public
# testDefaultPrepareAccessTokenResponse( )
public
# testPrepareAccessTokenResponseWithDotNotation( )
public
# testPrepareAccessTokenResponseWithInvalidKeyType( )
public
# testPrepareAccessTokenResponseWithInvalidKeyPath( )
public
# testDefaultAuthorizationHeaders( )
Properties summary
protected League\OAuth2\Client\Provider\AbstractProvider $provider
#
MercadoLibre PHP SDK API documentation generated by ApiGen