Frontend | Backend | Api

OAuth\Models\Frontend\AuthorizationCode

AuthorizationCode

Method Description Returns
hasScopeIncluded(string $scope) Does this record have this scope? bool
getId() int
getCode() string
getRedirectUrl() string
getExpiryDate() DateTime
getScope() string
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getAccessToken() AccessToken
hasAccessToken() Is there an Access Token attached to this? bool
getApp() Client
getUser() User
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