Documentation

Auth extends Handler implements Auth

Interfaces, Classes and Traits

Auth

Table of Contents

error()  : array<string|int, mixed>
Store the error msgs.
fail()  : bool
check if the error has.
first()  : string
Get first errror msg .
get()  : array<string|int, mixed>
Get the error msg.
last()  : string
Get last error msg.
logout()  : object
Instance of logout class.
reset()  : object
Instance of reset class.
signin()  : object
Instance of signin class.
signup()  : object
Instance of signup class.
success()  : string
Get the success msg.
update()  : object
Instance of update class.
verify()  : object
Instance of verify class.

Methods

error()

Store the error msgs.

public error() : array<string|int, mixed>
Return values
array<string|int, mixed>

fail()

check if the error has.

public fail() : bool
Return values
bool

first()

Get first errror msg .

public first([ $key = null ]) : string
Parameters
$key : = null

, like username (optional)

Return values
string

get()

Get the error msg.

public get([ $key = null ]) : array<string|int, mixed>
Parameters
$key : = null

, like username (optional)

Return values
array<string|int, mixed>

last()

Get last error msg.

public last([ $key = null ]) : string
Parameters
$key : = null

, like username (optional)

Return values
string

logout()

Instance of logout class.

public logout() : object
Tags
since
1.0.0
Return values
object

reset()

Instance of reset class.

public reset() : object
Tags
since
1.0.0
Return values
object

signin()

Instance of signin class.

public signin() : object
Tags
since
1.0.0
Return values
object

signup()

Instance of signup class.

public signup() : object
Tags
since
1.0.0
Return values
object

success()

Get the success msg.

public success() : string
Return values
string

update()

Instance of update class.

public update() : object
Tags
since
1.0.0
Return values
object

verify()

Instance of verify class.

public verify() : object
Tags
since
1.0.0
Return values
object

Search results