Documentation

GenericResourceOwner
in package
implements ResourceOwnerInterface

Represents a generic resource owner for use with the GenericProvider.

Table of Contents

Interfaces

ResourceOwnerInterface
Classes implementing `ResourceOwnerInterface` may be used to represent the resource owner authenticated with a service provider.

Properties

$resourceOwnerId  : string
$response  : array<string|int, mixed>

Methods

__construct()  : mixed
getId()  : mixed
Returns the identifier of the authorized resource owner.
toArray()  : array<string|int, mixed>
Returns the raw resource owner response.

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $response, string $resourceOwnerId) : mixed
Parameters
$response : array<string|int, mixed>
$resourceOwnerId : string

toArray()

Returns the raw resource owner response.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results