1C-Bitrix 25.700.0
|
Открытые члены | |
__construct ($timestamp, $id, $flags, $context, $token) | |
getTimestamp () | |
setTimestamp ($timestamp) | |
getId () | |
setId ($id) | |
usePersistentCookie () | |
setFlags ($flags) | |
getContext () | |
setContext ($context) | |
getToken () | |
setToken ($token) | |
setError ($str) | |
getError () |
Поля данных | |
$_timestamp | |
$_id | |
$_usePersistentCookie | |
$_context | |
$_token | |
$_error = false |
FILE: windowslivelogin.php
DESCRIPTION: Sample implementation of Web Authentication and Delegated Authentication protocol in PHP. Also includes trusted sign-in and application verification sample implementations.
VERSION: 1.1
Copyright (c) 2008 Microsoft Corporation. All Rights Reserved. Holds the user information after a successful sign-in.
См. определение в файле liveid.php строка 21
__construct | ( | $timestamp, | |
$id, | |||
$flags, | |||
$context, | |||
$token ) |
Initialize the User with time stamp, userid, flags, context and token.
См. определение в файле liveid.php строка 26
getContext | ( | ) |
Returns the application context that was originally passed to the sign-in request, if any.
См. определение в файле liveid.php строка 134
getError | ( | ) |
См. определение в файле liveid.php строка 179
getId | ( | ) |
Returns the pairwise unique ID for the user.
См. определение в файле liveid.php строка 75
getTimestamp | ( | ) |
Returns the Unix timestamp as obtained from the SSO token.
См. определение в файле liveid.php строка 42
getToken | ( | ) |
Returns the encrypted Web Authentication token containing the UID. This can be cached in a cookie and the UID can be retrieved by calling the ProcessToken method.
См. определение в файле liveid.php строка 157
setContext | ( | $context | ) |
Sets the the Application context.
См. определение в файле liveid.php строка 143
setError | ( | $str | ) |
См. определение в файле liveid.php строка 174
setFlags | ( | $flags | ) |
Sets the usePersistentCookie flag for the user.
См. определение в файле liveid.php строка 118
setId | ( | $id | ) |
Sets the pairwise unique ID for the user.
См. определение в файле liveid.php строка 84
setTimestamp | ( | $timestamp | ) |
Sets the Unix timestamp.
См. определение в файле liveid.php строка 51
setToken | ( | $token | ) |
Sets the the User token.
См. определение в файле liveid.php строка 166
usePersistentCookie | ( | ) |
Indicates whether the application is expected to store the user token in a session or persistent cookie.
См. определение в файле liveid.php строка 109
$_context |
См. определение в файле liveid.php строка 127
$_error = false |
См. определение в файле liveid.php строка 172
$_id |
См. определение в файле liveid.php строка 69
$_timestamp |
См. определение в файле liveid.php строка 36
$_token |
См. определение в файле liveid.php строка 149
$_usePersistentCookie |
См. определение в файле liveid.php строка 102