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

  • AbstractProvider
  • GenericProvider
  • GenericResourceOwner

Interfaces

  • ResourceOwnerInterface
  • Overview
  • Namespace
  • Class
  • Download

Class GenericResourceOwner

Represents a generic resource owner for use with the GenericProvider.

League\OAuth2\Client\Provider\GenericResourceOwner implements League\OAuth2\Client\Provider\ResourceOwnerInterface
Namespace: League\OAuth2\Client\Provider
Located at src/Provider/GenericResourceOwner.php
Methods summary
public
# __construct( array $response, string $resourceOwnerId )

Parameters

$response
$resourceOwnerId
public mixed
# getId( )

Returns the identifier of the authorized resource owner.

Returns the identifier of the authorized resource owner.

Returns

mixed

Implementation of

League\OAuth2\Client\Provider\ResourceOwnerInterface::getId()
public array
# toArray( )

Returns the raw resource owner response.

Returns the raw resource owner response.

Returns

array

Implementation of

League\OAuth2\Client\Provider\ResourceOwnerInterface::toArray()
Properties summary
protected array $response
#
protected string $resourceOwnerId
#
MercadoLibre PHP SDK API documentation generated by ApiGen