Frontend | Backend | Api

OAuth\Models\Frontend\Client

Client

Method Description Returns
isAuthorizationCodeGrantTypeAllowed() Is Authorization Code grant type allowed for client? bool
isRefreshTokenGrantTypeAllowed() Is Refresh Token grant type allowed for client? bool
getId() int
getName() string
getOauthClientId() string
getAllowedGrantTypes() array
getAllowedRedirectUrls() array
getAllowedScopes() array
isConfidential() bool
getCreated() Date the record was created. DateTime
getModified() Last modification date for the record. DateTime
getRefreshTokens() Collection (RefreshToken)
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