Class XFAuth

Description

XFAuth takes care of user authentication

XFAuth takes care of user authentication

Located in /lb_private/class.auth.php (line 26)


	
			
Method Summary
static array check (string $user, string $pass)
static boolean validate_password (string $a, string $b)
static mixed validate_session ()
Methods
static method check (line 38)

verify authentication credentials

verify authentication credentials

  • since: 1.0.0
  • access: public
static array check (string $user, string $pass)
  • string $user: userid or username
  • string $pass: password hash
static method validate_password (line 80)

validates the password

validates the password server hash r1: salt(0-9{15}).hash(a-f0-9{64}) server hash r2: 02_salt(a-zA-Z0-9{12}).hash(a-f0-9{64}) client hash r1: 01_hash(a-f0-9{40})

  • since: 1.0.0
  • access: public
static boolean validate_password (string $a, string $b)
  • string $a: password from server, usually salted
  • string $b: password from client, usually hashed
static method validate_session (line 105)

validate the current user session

validate the current user session

  • since: 1.0.0
  • access: public
static mixed validate_session ()

Documentation generated on Sun, 20 Jun 2010 11:59:09 +0200 by phpDocumentor 1.4.3