UserPassword
extends Model
in package
implements
Entity
Uses
HasEntity, HasFactory
Class UserPassword.
Table of Contents
Interfaces
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'user_password'
Properties
- $id : int
- $incrementing : mixed
- $password_hash : int
- $password_method : int
- $password_salt : int
- $timestamps : mixed
- $user_id : int
- $fillable : array<string|int, string>
- $primaryKey : mixed
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : UserPasswordFactory
- moduleName() : string
- validateForPassportPasswordGrant() : void
- newFactory() : UserPasswordFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'user_password'
Properties
$id
public
int
$id
$incrementing
public
mixed
$incrementing
= false
$password_hash
public
int
$password_hash
$password_method
public
int
$password_method
$password_salt
public
int
$password_salt
$timestamps
public
mixed
$timestamps
= false
$user_id
public
int
$user_id
$fillable
protected
array<string|int, string>
$fillable
= [
'user_id',
'password_hash',
//
'password_salt',
'password_method',
// MetaFox\User\Password\v4Password
'params',
]
$primaryKey
protected
mixed
$primaryKey
= 'user_id'
$table
protected
mixed
$table
= 'user_passwords'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : UserPasswordFactory
Parameters
- $parameters : mixed
Return values
UserPasswordFactorymoduleName()
public
moduleName() : string
Return values
stringvalidateForPassportPasswordGrant()
public
validateForPassportPasswordGrant(string|null $input) : void
Parameters
- $input : string|null
newFactory()
protected
static newFactory() : UserPasswordFactory