Token
class Token extends Model implements TokenInterface (View source)
Token model.
Traits
Properties
protected string | $table | The table associated with the model. |
|
protected array | $fillable | The attributes that are mass assignable. |
|
protected array | $casts | The attributes that should be mutated to dates. |
Methods
static Factory
newFactory()
Create a new factory instance for the model.
Details
string
getAccessToken()
Get access token.
string|null
getRefreshToken()
Get refresh token.
string
getTokenType()
Get token type.
string
getProduct()
Get product.
string|Datetime
getExpiresAt()
Get expires at.
bool
isExpired()
Determine if a token is expired.
static Factory
newFactory()
Create a new factory instance for the model.