IP.Board  3.3.0
WLL_ConsentToken Class Reference

Public Member Functions

 __construct ($wll, $delegationtoken, $refreshtoken, $sessionkey, $expiry, $offers, $locationID, $context, $decodedtoken, $token)
 getContext ()
 getDecodedToken ()
 getDelegationToken ()
 getExpiry ()
 getLocationID ()
 getOffers ()
 getOffersString ()
 getRefreshToken ()
 getSessionKey ()
 getToken ()
 isValid ()
 refresh ()

Detailed Description

Holds the Consent Token object corresponding to consent granted.


Constructor & Destructor Documentation

__construct ( wll,
delegationtoken,
refreshtoken,
sessionkey,
expiry,
offers,
locationID,
context,
decodedtoken,
token 
)

Initialize the ConsentToken module with the WindowsLiveLogin, delegation token, refresh token, session key, expiry, offers, location ID, context, decoded token, and raw token.


Member Function Documentation

Returns the application context that was originally passed to the sign-in request, if any.

Gets the decoded token.

Gets the Delegation token.

getExpiry ( )

Gets the expiry time of delegation token.

Gets the location ID.

getOffers ( )

Gets the list of offers/actions for which the user granted consent.

Gets the string representation of all the offers/actions for which the user granted consent.

Gets the refresh token.

Gets the session key.

getToken ( )

Gets the raw token.

isValid ( )

Indicates whether the delegation token is set and has not expired.

refresh ( )

Refreshes the current token and replace it. If operation succeeds true is returned to signify success.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables