Stud.IP  5.4
Seminar_Register_Auth Class Reference
Inheritance diagram for Seminar_Register_Auth:
Seminar_Auth

Public Member Functions

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

Additional Inherited Members

- Data Fields inherited from Seminar_Auth
 $classname
 
 $error_msg = ""
 
 $auth = []
 
 $need_email_activation = null
 
- Protected Member Functions inherited from Seminar_Auth
 getState ()
 
- Protected Attributes inherited from Seminar_Auth
 $persistent_slots = ["auth", "classname"]
 
 $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

◆ auth_registerform()

auth_registerform ( )

◆ 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

◆ start()

start ( )

◆ 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

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