| Method | Description | Returns |
|---|---|---|
| isValid() | Is refresh token valid? | bool |
| hasScopeIncluded(string $scope) | Does this record have this scope? | bool |
| getId() | int | |
| 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\Frontend\RefreshToken
RefreshToken