g
Frontend | Backend | Api

OAuth\Models\Frontend\Client

Client

Method Description Returns
getSecret() Get OAuth Client Secret. Will only return value within self::CLIENT_SECRET_VISIBLE_SECONDS of record being created. This should be called for response models. string
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() string
getAllowedRedirectUrls() string
getAllowedScopes() string
isConfidential() bool
getCreated() DateTime
getModified() DateTime
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool