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 Fake

Represents a type of authorization grant.

An authorization grant is a credential representing the resource owner's authorization (to access its protected resources) used by the client to obtain an access token. OAuth 2.0 defines four grant types -- authorization code, implicit, resource owner password credentials, and client credentials -- as well as an extensibility mechanism for defining additional types.

League\OAuth2\Client\Grant\AbstractGrant uses League\OAuth2\Client\Tool\RequiredParameterTrait
Extended by League\OAuth2\Client\Test\Grant\Fake
Namespace: League\OAuth2\Client\Test\Grant
Link: Authorization Grant (RFC 6749, ยง1.3)
Located at test/src/Grant/Fake.php
Methods summary
protected string
# getName( )

Returns the name of this grant, eg. 'grant_name', which is used as the grant type when encoding URL query parameters.

Returns the name of this grant, eg. 'grant_name', which is used as the grant type when encoding URL query parameters.

Returns

string
protected array
# getRequiredRequestParameters( )

Returns a list of all required request parameters.

Returns a list of all required request parameters.

Returns

array
Methods inherited from League\OAuth2\Client\Grant\AbstractGrant
__toString(), prepareRequestParameters()
MercadoLibre PHP SDK API documentation generated by ApiGen