Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
Facebook\GraphNodes\GraphSessionInfo Class Reference
Inheritance diagram for Facebook\GraphNodes\GraphSessionInfo:
Facebook\GraphNodes\GraphNode Facebook\GraphNodes\Collection

Public Member Functions

 getAppId ()
 
 getApplication ()
 
 getExpiresAt ()
 
 getIsValid ()
 
 getIssuedAt ()
 
 getScopes ()
 
 getUserId ()
 
- Public Member Functions inherited from Facebook\GraphNodes\GraphNode
 __construct (array $data=[])
 
 castItems (array $data)
 
 uncastItems ()
 
 asJson ($options=0)
 
 isIso8601DateString ($string)
 
 shouldCastAsDateTime ($key)
 
 castToDateTime ($value)
 
 castToBirthday ($value)
 
- Public Member Functions inherited from Facebook\GraphNodes\Collection
 getField ($name, $default=null)
 
 getProperty ($name, $default=null)
 
 getFieldNames ()
 
 getPropertyNames ()
 
 all ()
 
 asArray ()
 
 map (\Closure $callback)
 
 count ()
 
 getIterator ()
 
 offsetExists ($key)
 
 offsetGet ($key)
 
 offsetSet ($key, $value)
 
 offsetUnset ($key)
 
 __toString ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Facebook\GraphNodes\GraphNode
static getObjectMap ()
 
- Protected Attributes inherited from Facebook\GraphNodes\Collection
 $items = []
 
- Static Protected Attributes inherited from Facebook\GraphNodes\GraphNode
static $graphObjectMap = []
 

Detailed Description

Definition at line 31 of file GraphSessionInfo.php.

Member Function Documentation

◆ getAppId()

Facebook\GraphNodes\GraphSessionInfo::getAppId ( )

Returns the application id the token was issued for.

Returns
string|null

Definition at line 38 of file GraphSessionInfo.php.

◆ getApplication()

Facebook\GraphNodes\GraphSessionInfo::getApplication ( )

Returns the application name the token was issued for.

Returns
string|null

Definition at line 48 of file GraphSessionInfo.php.

◆ getExpiresAt()

Facebook\GraphNodes\GraphSessionInfo::getExpiresAt ( )

Returns the date & time that the token expires.

Returns
\DateTime|null

Definition at line 58 of file GraphSessionInfo.php.

◆ getIssuedAt()

Facebook\GraphNodes\GraphSessionInfo::getIssuedAt ( )

Returns the date & time the token was issued at.

Returns
\DateTime|null

Definition at line 78 of file GraphSessionInfo.php.

◆ getIsValid()

Facebook\GraphNodes\GraphSessionInfo::getIsValid ( )

Returns whether the token is valid.

Returns
boolean

Definition at line 68 of file GraphSessionInfo.php.

◆ getScopes()

Facebook\GraphNodes\GraphSessionInfo::getScopes ( )

Returns the scope permissions associated with the token.

Returns
array

Definition at line 88 of file GraphSessionInfo.php.

◆ getUserId()

Facebook\GraphNodes\GraphSessionInfo::getUserId ( )

Returns the login id of the user associated with the token.

Returns
string|null

Definition at line 98 of file GraphSessionInfo.php.


The documentation for this class was generated from the following file: