AzureResourceOwner
in package
implements
ResourceOwnerInterface
Table of Contents
Interfaces
- ResourceOwnerInterface
- Classes implementing `ResourceOwnerInterface` may be used to represent the resource owner authenticated with a service provider.
Properties
- $data : array<string|int, mixed>
- Response payload
Methods
- __construct() : mixed
- Creates new azure resource owner.
- claim() : mixed|null
- Returns a field from the parsed JWT data.
- getFirstName() : string|null
- Retrieves first name of resource owner.
- getId() : string|null
- Retrieves id of resource owner.
- getLastName() : string|null
- Retrieves last name of resource owner.
- getTenantId() : string|null
- Retrieves tenant id of resource owner.
- getUpn() : string|null
- Retrieves user principal name of resource owner.
- toArray() : array<string|int, mixed>
- Returns all the data obtained about the user.
Properties
$data
Response payload
protected
array<string|int, mixed>
$data
Methods
__construct()
Creates new azure resource owner.
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
claim()
Returns a field from the parsed JWT data.
public
claim(string $name) : mixed|null
Parameters
- $name : string
Return values
mixed|nullgetFirstName()
Retrieves first name of resource owner.
public
getFirstName() : string|null
Return values
string|nullgetId()
Retrieves id of resource owner.
public
getId() : string|null
Return values
string|nullgetLastName()
Retrieves last name of resource owner.
public
getLastName() : string|null
Return values
string|nullgetTenantId()
Retrieves tenant id of resource owner.
public
getTenantId() : string|null
Return values
string|nullgetUpn()
Retrieves user principal name of resource owner.
public
getUpn() : string|null
Return values
string|nulltoArray()
Returns all the data obtained about the user.
public
toArray() : array<string|int, mixed>