Class Socialveo\Core\session\OAuth2User

InheritanceSocialveo\Core\session\OAuth2User

Class OAuth2User

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() User constructor. Socialveo\Core\session\OAuth2User
getAvailabilityStatus() Returns user availability status Socialveo\Core\session\OAuth2User
getIsGuest() Returns is user guest Socialveo\Core\session\OAuth2User
getIsLogged() Returns is user logged Socialveo\Core\session\OAuth2User
getStatusesAvailability() Returns all possible availability statuses Socialveo\Core\session\OAuth2User
getUser() Returns user model Socialveo\Core\session\OAuth2User

Property Details

$id public property
public integer $id null
$network_uuid public property
public string $network_uuid null
$uuid public property
public string $uuid null

Method Details

__construct() public method

User constructor.

public void __construct ( $OAuth2Server )
$OAuth2Server \OAuth2\Server
getAvailabilityStatus() public method

Returns user availability status

public string|null getAvailabilityStatus ( )
getIsGuest() public method

Returns is user guest

public boolean getIsGuest ( )
getIsLogged() public method

Returns is user logged

public boolean getIsLogged ( )
getStatusesAvailability() public method

Returns all possible availability statuses

public array getStatusesAvailability ( )
getUser() public method

Returns user model

public null|Socialveo\Core\models\User getUser ( )