# Native

class Native extends Contract

## Constants

LIBRARIAN_LOGIN |
MEMBER_LOGIN |

## Properties

protected | $type | Login Type | from Contract
protected string | $username |  | from Contract
protected string | $password |  | from Contract
protected array | $data |  | from Contract

## Methods

__construct()

No description

from Contract
memberAuthenticate()

Member authentication

adminAuthenticate()

Administrator authentication

void
generateSession()

Generating session based on data

from Contract
fetchRequest(array $keys)

No description

from Contract
getData(string $key = '')

No description

from Contract
setData(array $data)

No description

from Contract
has2Fa()

No description

from Contract
hookProcess()

No description

from Contract
__call($method, $arguments)

No description

from Contract
int
count()

No description

from Contract
void
updateInfo()

Setup another data according checksum, last_login etc

## Details

###
in Contract at line 40
`__construct()`

No description

###
at line 22
`protected memberAuthenticate()`

Member authentication

###
at line 80
`protected adminAuthenticate()`

Administrator authentication

###
in Contract at line 60
`void generateSession()`

Generating session based on data

#### Return Value

void |

###
in Contract at line 67
`fetchRequest(array $keys)`

No description

#### Parameters

array | $keys |

###
in Contract at line 75
`getData(string $key = '')`

No description

#### Parameters

string | $key |

###
in Contract at line 80
`setData(array $data)`

No description

#### Parameters

array | $data |

###
in Contract at line 85
`has2Fa()`

No description

###
in Contract at line 90
`hookProcess()`

No description

###
in Contract at line 92
`__call($method, $arguments)`

No description

#### Parameters

| $method |
| $arguments |

###
in Contract at line 99
`int count()`

No description

#### Return Value

int |

###
at line 153
`protected void updateInfo()`

Setup another data according checksum, last_login etc

#### Return Value

void |