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