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

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

 __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()

__construct ( $timestamp,
$id,
$flags,
$context,
$token )

Initialize the User with time stamp, userid, flags, context and token.

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

Методы

◆ getContext()

getContext ( )

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

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

◆ getError()

getError ( )

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

◆ getId()

getId ( )

Returns the pairwise unique ID for the user.

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

◆ getTimestamp()

getTimestamp ( )

Returns the Unix timestamp as obtained from the SSO token.

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

◆ getToken()

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()

setContext ( $context)

Sets the the Application context.

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

◆ setError()

setError ( $str)

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

◆ setFlags()

setFlags ( $flags)

Sets the usePersistentCookie flag for the user.

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

◆ setId()

setId ( $id)

Sets the pairwise unique ID for the user.

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

◆ setTimestamp()

setTimestamp ( $timestamp)

Sets the Unix timestamp.

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

◆ setToken()

setToken ( $token)

Sets the the User token.

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

◆ usePersistentCookie()

usePersistentCookie ( )

Indicates whether the application is expected to store the user token in a session or persistent cookie.

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

Поля

◆ $_context

$_context

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

◆ $_error

$_error = false

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

◆ $_id

$_id

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

◆ $_timestamp

$_timestamp

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

◆ $_token

$_token

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

◆ $_usePersistentCookie

$_usePersistentCookie

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


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