Method | Description | Returns |
---|---|---|
isValid() | Is refresh token valid? | bool |
hasScopeIncluded(string $scope) | Does this record have this scope? | bool |
getId() | int | |
getRefreshToken() | string | |
getExpiryDate() | DateTime | |
getCreated() | Date the record was created. | DateTime |
getModified() | Last modification date for the record. | DateTime |
getMaxUses() | int | |
getUseCount() | int | |
getScope() | string | |
getApp() | Client | |
getUser() | User | |
getAccessTokens() | Collection (AccessToken) | |
isNewRecord() | Check if the record is a new record | bool |
isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
isVersionedModel() | Check whether a model is versioned | bool |
OAuth\Models\Backend\RefreshToken
RefreshToken