public class OAuth2ClientServiceImpl extends DefaultComponent implements OAuth2ClientService
lastModified
OAUTH2CLIENT_DIRECTORY_NAME, OAUTH2CLIENT_SCHEMA
Constructor and Description |
---|
OAuth2ClientServiceImpl() |
Modifier and Type | Method and Description |
---|---|
OAuth2Client |
getClient(String clientId) |
protected DocumentModel |
getClientModel(String clientId) |
boolean |
hasClient(String clientId) |
boolean |
isValidClient(String clientId,
String clientSecret) |
activate, deactivate, getAdapter, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
public OAuth2ClientServiceImpl()
public boolean hasClient(String clientId)
hasClient
in interface OAuth2ClientService
public boolean isValidClient(String clientId, String clientSecret)
isValidClient
in interface OAuth2ClientService
public OAuth2Client getClient(String clientId)
getClient
in interface OAuth2ClientService
protected DocumentModel getClientModel(String clientId)
Copyright © 2018 Nuxeo. All rights reserved.