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

  • AuthorizationCodeTest
  • ClientCredentialsTest
  • Fake
  • GrantFactoryTest
  • GrantTestCase
  • PasswordTest
  • RefreshTokenTest
  • Overview
  • Namespace
  • Class
  • Download

Class GrantTestCase

PHPUnit\Framework\TestCase
Extended by League\OAuth2\Client\Test\Grant\GrantTestCase

Direct known subclasses

League\OAuth2\Client\Test\Grant\AuthorizationCodeTest, League\OAuth2\Client\Test\Grant\ClientCredentialsTest, League\OAuth2\Client\Test\Grant\PasswordTest, League\OAuth2\Client\Test\Grant\RefreshTokenTest
Abstract
Namespace: League\OAuth2\Client\Test\Grant
Located at test/src/Grant/GrantTestCase.php
Methods summary
protected
# setUp( )
abstract public
# testToString( )

Test that the grant's __toString method.

Test that the grant's __toString method.

abstract public array
# providerGetAccessToken( )

Data provider for access token tests.

Data provider for access token tests.

Returns

array
abstract protected Closure
# getParamExpectation( )

Callback to test access token request parameters.

Callback to test access token request parameters.

Returns

Closure
public
# testGetAccessToken( $grant, array $params = [] )

Dataprovider

providerGetAccessToken
Properties summary
protected League\OAuth2\Client\Provider\AbstractProvider $provider
#
MercadoLibre PHP SDK API documentation generated by ApiGen