# member_logon

class member_logon

## Properties

protected | $username |  |
protected | $password |  |
protected | $auth_method |  |
protected | $user_info |  |
| $real_name |  |
| $ip_check |  |
| $ip_allowed |  |
| $errors |  |

## Methods

void
__construct(string $str_username, string $str_password, string $str_auth_method = 'native')

Class Constructor

bool
ldapLogin()

LDAP/Active directory login

bool
nativeLogin()

Native database checking login method

void
valid(object $obj_db)

Method to check user validity

## Details

###
at line 52
`void __construct(string $str_username, string $str_password, string $str_auth_method = 'native')`

Class Constructor

#### Parameters

string | $str_username |
string | $str_password |
string | $str_auth_method |

#### Return Value

void |

###
at line 64
`protected bool ldapLogin()`

LDAP/Active directory login

#### Return Value

bool |

###
at line 161
`bool nativeLogin()`

Native database checking login method

#### Return Value

bool |

###
at line 221
`void valid(object $obj_db)`

Method to check user validity

#### Parameters

object | $obj_db |

#### Return Value

void |