Passkey
extends BaseModel
uses
HasFactory
Table of Contents
Properties
-
$casts
: mixed
-
$dateFormat
: mixed
-
$fillable
: mixed
Methods
-
data()
: Attribute
-
decodeBase64()
: mixed
-
encodeBase64()
: mixed
-
formatForException()
: string
-
newEloquentBuilder()
: mixed
-
update()
: mixed
-
user()
: mixed
-
newFactory()
: Factory
$casts
protected
mixed
$casts
= ['last_used_at' => 'datetime']
protected
mixed
$dateFormat
= 'Y-m-d H:i:sO'
$fillable
protected
mixed
$fillable
= ['name', 'credential_id', 'data', 'last_used_at', 'counter']
data()
public
data() : Attribute
decodeBase64()
public
static decodeBase64(string $data) : mixed
Parameters
-
$data
: string
-
encodeBase64()
public
static encodeBase64(string $data) : mixed
Parameters
-
$data
: string
-
public
formatForException() : string
newEloquentBuilder()
public
newEloquentBuilder(mixed $query) : mixed
Parameters
-
$query
: mixed
-
update()
public
update([array<string|int, mixed> $attributes = [] ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
-
$attributes
: array<string|int, mixed>
= []
-
-
$options
: array<string|int, mixed>
= []
-
user()
public
user() : mixed
newFactory()
protected
static newFactory() : Factory