Stud.IP  trunk Revision
Seminar_Register_Auth Class Reference
Inheritance diagram for Seminar_Register_Auth:
Inheritance graph
Collaboration diagram for Seminar_Register_Auth:
Collaboration graph

Public Member Functions

 auth_registerform ()
 
 auth_doregister ()
 
- Public Member Functions inherited from Seminar_Auth
 __construct ()
 
 check_feature ($f)
 
 start ()
 
 __sleep ()
 
 unauth ()
 
 logout ()
 
 login_if ($ok)
 
 is_authenticated ()
 
 auth_preauth ()
 
 auth_loginform ()
 
 auth_validatelogin ()
 
 auth_set_user_settings ($user)
 
 check_environment ()
 

Static Public Member Functions

static sendValidationMail ($user)
 
static validateSecret ($secret, $user_id)
 

Data Fields

 $error_msg = ''
 
- Data Fields inherited from Seminar_Auth
 $classname
 
 $error_msg = ""
 
 $auth = []
 

Protected Attributes

 $mode = 'reg'
 
- Protected Attributes inherited from Seminar_Auth
 $persistent_slots = ["auth", "classname"]
 
 $mode = "log"
 
 $nobody = false
 
 $cancel_login = "cancel_login"
 

Detailed Description

Seminar_Register_Auth.class.php

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author
André Noack noack.nosp@m.@dat.nosp@m.a-que.nosp@m.st.d.nosp@m.e

Member Function Documentation

◆ auth_doregister()

auth_doregister ( )
Returns
bool|string
Here is the call graph for this function:

◆ auth_registerform()

auth_registerform ( )
Here is the call graph for this function:

◆ sendValidationMail()

static sendValidationMail (   $user)
static

Send a validation mail to the passed user

Parameters
User$usera user-object or id of the user to resend the validation mail for
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validateSecret()

static validateSecret (   $secret,
  $user_id 
)
static

Validates a given hash for a given user id.

Parameters
string$secretSecret to validate
string$user_idUser id
Returns
bool
Here is the call graph for this function:

Field Documentation

◆ $error_msg

$error_msg = ''

◆ $mode

$mode = 'reg'
protected

The documentation for this class was generated from the following file: