Documentation

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

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|null

getFirstName()

Retrieves first name of resource owner.

public getFirstName() : string|null
Return values
string|null

getId()

Retrieves id of resource owner.

public getId() : string|null
Return values
string|null

getLastName()

Retrieves last name of resource owner.

public getLastName() : string|null
Return values
string|null

getTenantId()

Retrieves tenant id of resource owner.

public getTenantId() : string|null
Return values
string|null

getUpn()

Retrieves user principal name of resource owner.

public getUpn() : string|null
Return values
string|null

toArray()

Returns all the data obtained about the user.

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

        
On this page

Search results