TYPO3 CMS
TYPO3_6-2
|
Go to the source code of this file.
Namespaces | |
OpenID | |
Functions | |
Auth_OpenID_splitNonce ($nonce_string) | |
Auth_OpenID_checkTimestamp ($nonce_string, $allowed_skew=null, $now=null) | |
Auth_OpenID_mkNonce ($when=null) | |
Variables | |
const | Auth_OpenID_Nonce_CHRS "abcdefghijklmnopqrstuvwxyz" . "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" |
global | $Auth_OpenID_SKEW = 60 * 60 * 5 |
const | Auth_OpenID_Nonce_REGEX '/(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)Z(.*)/' |
const | Auth_OpenID_Nonce_TIME_FMT '%Y-%m-%dT%H:%M:%SZ' |
Auth_OpenID_checkTimestamp | ( | $nonce_string, | |
$allowed_skew = null , |
|||
$now = null |
|||
) |
Definition at line 57 of file Nonce.php.
References $Auth_OpenID_SKEW, and Auth_OpenID_splitNonce().
Referenced by Auth_OpenID_FileStore\clean().
Auth_OpenID_mkNonce | ( | $when = null | ) |
Definition at line 91 of file Nonce.php.
References Auth_OpenID_Nonce_CHRS, Auth_OpenID_Nonce_TIME_FMT, and Auth_OpenID_CryptUtil\randomString().
Referenced by Auth_OpenID_CheckIDRequest\answer(), and Auth_OpenID_GenericConsumer\begin().
Auth_OpenID_splitNonce | ( | $nonce_string | ) |
Definition at line 30 of file Nonce.php.
Referenced by Auth_OpenID_GenericConsumer\_idResCheckNonce(), and Auth_OpenID_checkTimestamp().
$Auth_OpenID_SKEW = 60 * 60 * 5 |
Definition at line 23 of file Nonce.php.
Referenced by Auth_OpenID_checkTimestamp(), Auth_OpenID_FileStore\cleanupNonces(), Auth_OpenID_MDB2Store\cleanupNonces(), Auth_OpenID_SQLStore\cleanupNonces(), Auth_OpenID_PredisStore\useNonce(), Auth_OpenID_MemcachedStore\useNonce(), Auth_OpenID_FileStore\useNonce(), Auth_OpenID_MDB2Store\useNonce(), and Auth_OpenID_SQLStore\useNonce().
const Auth_OpenID_Nonce_CHRS "abcdefghijklmnopqrstuvwxyz" . "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" |
Need CryptUtil to generate random strings. This is the characters that the nonces are made from.
Definition at line 17 of file Nonce.php.
Referenced by Auth_OpenID_mkNonce().
const Auth_OpenID_Nonce_REGEX '/(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)Z(.*)/' |
const Auth_OpenID_Nonce_TIME_FMT '%Y-%m-%dT%H:%M:%SZ' |
Definition at line 28 of file Nonce.php.
Referenced by Auth_OpenID_mkNonce().