Devise
Class

DvsUser

class DvsUser extends Model implements UserInterface, RemindableInterface

Methods

BelongsToMany groups()

Defines belongs to many Group

mixed getAuthIdentifier()

Get the unique identifier for the user.

string getAuthPassword()

Get the password for the user.

string getReminderEmail()

Get the e-mail address where password reminders are sent.

string getActivateCode()

Get activation code and

boolean isActivated()

Checks if user is activated

boolean checkPassword(string $password)

Checks the password submitted matches db value

boolean checkHash(string $string, string $hashedString)

Checks the password submitted matches db value

string getRememberToken()

Get the token value for the "remember me" session.

void setRememberToken(string $value)

Set the token value for the "remember me" session.

string getRememberTokenName()

Get the column name for the "remember me" token.

Details

at line 18
public BelongsToMany groups()

Defines belongs to many Group

Return Value

BelongsToMany

at line 28
public mixed getAuthIdentifier()

Get the unique identifier for the user.

Return Value

mixed

at line 38
public string getAuthPassword()

Get the password for the user.

Return Value

string

at line 48
public string getReminderEmail()

Get the e-mail address where password reminders are sent.

Return Value

string

at line 58
public string getActivateCode()

Get activation code and

Return Value

string

at line 68
public boolean isActivated()

Checks if user is activated

Return Value

boolean

at line 79
public boolean checkPassword(string $password)

Checks the password submitted matches db value

Parameters

string $password

Return Value

boolean

at line 91
public boolean checkHash(string $string, string $hashedString)

Checks the password submitted matches db value

Parameters

string $string Non-hashed string submitted
string $hashedString Has

Return Value

boolean

at line 101
public string getRememberToken()

Get the token value for the "remember me" session.

Return Value

string

at line 112
public void setRememberToken(string $value)

Set the token value for the "remember me" session.

Parameters

string $value

Return Value

void

at line 122
public string getRememberTokenName()

Get the column name for the "remember me" token.

Return Value

string