TYPO3 CMS  TYPO3_6-2
Nonce.php File Reference

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'
 

Function Documentation

◆ Auth_OpenID_checkTimestamp()

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

Auth_OpenID_mkNonce (   $when = null)

◆ Auth_OpenID_splitNonce()

Auth_OpenID_splitNonce (   $nonce_string)

Variable Documentation

◆ $Auth_OpenID_SKEW

◆ Auth_OpenID_Nonce_CHRS

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

◆ Auth_OpenID_Nonce_REGEX

const Auth_OpenID_Nonce_REGEX '/(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)Z(.*)/'

Definition at line 26 of file Nonce.php.

◆ Auth_OpenID_Nonce_TIME_FMT

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