PHP Class app\User

Inheritance: extends Illuminate\Database\Eloquent\Model, implements Illuminate\Contracts\Auth\Authenticatable, implements Illuminate\Contracts\Auth\CanResetPassword, use trait Illuminate\Auth\Authenticatable, use trait Illuminate\Auth\Passwords\CanResetPassword
Show file Open project: jadjoubran/laravel5-angular-material-starter Class Usage Examples

Protected Properties

Property Type Description
$fillable array The attributes that are mass assignable.
$hidden array The attributes that should be hidden for arrays.

Public Methods

Method Description
getJWTCustomClaims ( ) : array Return a key value array, containing any custom claims to be added to the JWT
getJWTIdentifier ( ) : mixed Get the identifier that will be stored in the subject claim of the JWT

Method Details

getJWTCustomClaims() public method

Return a key value array, containing any custom claims to be added to the JWT
public getJWTCustomClaims ( ) : array
return array

getJWTIdentifier() public method

Get the identifier that will be stored in the subject claim of the JWT
public getJWTIdentifier ( ) : mixed
return mixed

Property Details

$fillable protected property

The attributes that are mass assignable.
protected array $fillable
return array

$hidden protected property

The attributes that should be hidden for arrays.
protected array $hidden
return array