1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс WLL_ConsentToken

Открытые члены

 isValid ()
 refresh ()
 __construct ( $wll, $delegationtoken, $refreshtoken, $sessionkey, $expiry, $offers, $locationID, $context, $decodedtoken, $token)
 getDelegationToken ()
 setDelegationToken ($delegationtoken)
 getRefreshToken ()
 setRefreshToken ($refreshtoken)
 getSessionKey ()
 setSessionKey ($sessionkey)
 getExpiry ()
 setExpiry ($expiry)
 getOffers ()
 getOffersString ()
 setOffers ($offers)
 getLocationID ()
 setLocationID ($locationID)
 getContext ()
 setContext ($context)
 getDecodedToken ()
 setDecodedToken ($decodedtoken)
 getToken ()
 setToken ($token)
 copy ($ct)
 setError ($str)
 getError ()

Поля данных

 $_wll
 $_delegationtoken
 $_refreshtoken
 $_sessionkey
 $_expiry
 $_offers
 $_offers_string
 $_locationID
 $_context
 $_decodedtoken
 $_token
 $_error = false

Подробное описание

Holds the Consent Token object corresponding to consent granted.

См. определение в файле liveid.php строка 191

Конструктор(ы)

◆ __construct()

__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.

См. определение в файле liveid.php строка 231

Методы

◆ copy()

copy ( $ct)

Makes a copy of the ConsentToken object.

См. определение в файле liveid.php строка 497

◆ getContext()

getContext ( )

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

См. определение в файле liveid.php строка 438

◆ getDecodedToken()

getDecodedToken ( )

Gets the decoded token.

См. определение в файле liveid.php строка 458

◆ getDelegationToken()

getDelegationToken ( )

Gets the Delegation token.

См. определение в файле liveid.php строка 256

◆ getError()

getError ( )

См. определение в файле liveid.php строка 517

◆ getExpiry()

getExpiry ( )

Gets the expiry time of delegation token.

См. определение в файле liveid.php строка 329

◆ getLocationID()

getLocationID ( )

Gets the location ID.

См. определение в файле liveid.php строка 412

◆ getOffers()

getOffers ( )

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

См. определение в файле liveid.php строка 361

◆ getOffersString()

getOffersString ( )

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

См. определение в файле liveid.php строка 374

◆ getRefreshToken()

getRefreshToken ( )

Gets the refresh token.

См. определение в файле liveid.php строка 282

◆ getSessionKey()

getSessionKey ( )

Gets the session key.

См. определение в файле liveid.php строка 303

◆ getToken()

getToken ( )

Gets the raw token.

См. определение в файле liveid.php строка 479

◆ isValid()

isValid ( )

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

См. определение в файле liveid.php строка 197

◆ refresh()

refresh ( )

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

См. определение в файле liveid.php строка 212

◆ setContext()

setContext ( $context)

Sets the application context.

См. определение в файле liveid.php строка 447

◆ setDecodedToken()

setDecodedToken ( $decodedtoken)

Sets the decoded token.

См. определение в файле liveid.php строка 467

◆ setDelegationToken()

setDelegationToken ( $delegationtoken)

Sets the Delegation token.

См. определение в файле liveid.php строка 265

◆ setError()

setError ( $str)

См. определение в файле liveid.php строка 512

◆ setExpiry()

setExpiry ( $expiry)

Sets the expiry time of delegation token.

См. определение в файле liveid.php строка 338

◆ setLocationID()

setLocationID ( $locationID)

Sets the location ID.

См. определение в файле liveid.php строка 421

◆ setOffers()

setOffers ( $offers)

Sets the offers/actions for which user granted consent.

См. определение в файле liveid.php строка 383

◆ setRefreshToken()

setRefreshToken ( $refreshtoken)

Sets the refresh token.

См. определение в файле liveid.php строка 291

◆ setSessionKey()

setSessionKey ( $sessionkey)

Sets the session key.

См. определение в файле liveid.php строка 312

◆ setToken()

setToken ( $token)

Sets the raw token.

См. определение в файле liveid.php строка 488

Поля

◆ $_context

$_context

См. определение в файле liveid.php строка 432

◆ $_decodedtoken

$_decodedtoken

См. определение в файле liveid.php строка 453

◆ $_delegationtoken

$_delegationtoken

См. определение в файле liveid.php строка 250

◆ $_error

$_error = false

См. определение в файле liveid.php строка 510

◆ $_expiry

$_expiry

См. определение в файле liveid.php строка 323

◆ $_locationID

$_locationID

См. определение в файле liveid.php строка 407

◆ $_offers

$_offers

См. определение в файле liveid.php строка 355

◆ $_offers_string

$_offers_string

См. определение в файле liveid.php строка 367

◆ $_refreshtoken

$_refreshtoken

См. определение в файле liveid.php строка 276

◆ $_sessionkey

$_sessionkey

См. определение в файле liveid.php строка 297

◆ $_token

$_token

См. определение в файле liveid.php строка 473

◆ $_wll

$_wll

См. определение в файле liveid.php строка 224


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/main/classes/general/liveid.php