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() | array | |
getAllowedRedirectUrls() | array | |
getAllowedScopes() | array | |
isConfidential() | bool | |
getCreated() | DateTime | |
getModified() | DateTime | |
isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
getDeleteUrl() | Get delete url. Does not allow deleting 'local' OAuth client. | string |
getEditUrl() | Get edit url. Do not provide edit url for 'local' OAuth client. | string |
getAvailableGrantTypes() | Get available grant types | array |
getAvailableScopes() | Get available scopes | array |
getHateoasLinks() | Get the HATEOAS links for the record | array |
getManageUrl() | Get the url for managing records. | string |
OAuth\Models\Backend\Client
Client