PHP Class app\models\ApiSubscriber

Inheritance: extends Illuminate\Database\Eloquent\Model, implements Illuminate\Contracts\Auth\Authenticatable, implements Tymon\JWTAuth\Contracts\JWTSubject, use trait Illuminate\Auth\Authenticatable
Show file Open project: 0plus1/lumendingojwtapi

Protected Properties

Property Type Description
$primaryKey
$table
$visible

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
setPasswordAttribute ( $value )

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

setPasswordAttribute() public method

public setPasswordAttribute ( $value )
$value

Property Details

$primaryKey protected property

protected $primaryKey

$table protected property

protected $table

$visible protected property

protected $visible