| 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 | |
| getOauthClientSecret() | 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 |
| 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