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
$resourceOwnerId
protected
string
$resourceOwnerId
$response
protected
array<string|int, mixed>
$response
Methods
__construct()
public
__construct(array<string|int, mixed> $response, string $resourceOwnerId) : mixed
Parameters
- $response : array<string|int, mixed>
- $resourceOwnerId : string
getId()
Returns the identifier of the authorized resource owner.
public
getId() : mixed
toArray()
Returns the raw resource owner response.
public
toArray() : array<string|int, mixed>