Method |
Description |
|
__construct ( string $username, string $email ) |
Base constructor. |
|
getAvatarUrl ( ) : string |
Get the url to users avatar on the OAuth2 server. |
|
getFirstName ( ) : string |
Get users first name. |
|
getGender ( ) : string |
Get users gender. |
|
getLastName ( ) : string |
Get users last name. |
|
getLastUpdateTime ( ) : integer |
Get the date when user last updated his profile on the OAuth2 server. |
|
getProfileId ( ) : string |
Get user profile id on the current OAuth2 server. |
|
getProfileUrl ( ) : string |
Returns the url to users profile on the OAuth2 server. |
|
getServiceName ( ) : string |
Returns the name of the current OAuth2 server (like facebook, linkedin etc.). |
|
setAvatarUrl ( string $avatarUrl ) |
Set the url to users avatar on the current OAuth2 server. |
|
setFirstName ( string $firstName ) |
Set users first name. |
|
setGender ( $gender ) |
Set the gender of the user, can be 'male' or 'female'. |
|
setLastName ( $lastName ) |
Set users last name. |
|
setLastUpdateTime ( integer $timestamp ) |
Set the date when user last updated his profile on the OAuth2 server. |
|
setProfileId ( string $id ) |
Set the id of user of the current OAuth2 server. |
|
setProfileUrl ( string $profileUrl ) |
Set the url of users profile on the current OAuth2 server. |
|
setServiceName ( string $serviceName ) |
Set the service name that user used to login (like facebook, linkedin etc.) |
|