\Generation2\OAuth2\Client\Provider
OpenIDResourceOwner¶
-
class
D3strukt0r\OAuth2\Client\Provider\OpenIDResourceOwner¶ The class ServerConnection is used to create a connection to a server.
-
protected property
$response¶ array — Raw response.
-
public
__construct([$response])¶ Creates new resource owner.
Parameters: - $response (array) – (Optional) Data received from the server about the user
-
public
getId() → integer|null¶ Returns the identifier of the authorized resource owner.
Returns: integer|null — xxx
-
public
getUsername() → string|null¶ Return the username.
Returns: string|null — xxx
-
public
getEmail() → string|null¶ Return the email.
Returns: string|null — xxx
-
public
getFirstName() → string|null¶ Return the first name.
Returns: string|null — xxx
-
public
getSurname() → string|null¶ Return the surname.
Returns: string|null — xxx
-
public
getBirthday() → DateTime|null¶ Return the birthday.
Returns: DateTime|null — xxx
-
public
getActiveAddress() → array|null¶ Returns the active address.
Returns: array|null — xxx
-
public
getAddresses() → array|null¶ Returns the addresses.
Returns: array|null — xxx
-
public
getSubscription() → string|null¶ Return the subscription.
Returns: string|null — xxx
-
public
toArray() → array¶ Return all of the owner details available as an array.
Returns: array — xxx
-
protected property