Uses of Class
org.nuxeo.ecm.platform.oauth2.clients.OAuth2Client
-
Uses of OAuth2Client in org.nuxeo.ecm.platform.oauth2.clients
Modifier and TypeMethodDescriptionOAuth2ClientService.create
(OAuth2Client oAuth2Client, NuxeoPrincipal principal) Registers a new oAuth2 client as the given principal.OAuth2ClientServiceImpl.create
(OAuth2Client oAuth2Client, NuxeoPrincipal principal) static OAuth2Client
OAuth2Client.fromDocumentModel
(DocumentModel doc) Gets the oAuth2 client with the given client id.protected OAuth2Client
OAuth2ClientReader.readEntity
(com.fasterxml.jackson.databind.JsonNode jn) OAuth2ClientService.update
(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) Updates an exiting oAuth2 client as the given principal.OAuth2ClientServiceImpl.update
(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) Modifier and TypeMethodDescriptionOAuth2ClientService.getClients()
Gets all the oAuth2 clients.OAuth2ClientServiceImpl.getClients()
Modifier and TypeMethodDescriptionOAuth2ClientService.create
(OAuth2Client oAuth2Client, NuxeoPrincipal principal) Registers a new oAuth2 client as the given principal.OAuth2ClientServiceImpl.create
(OAuth2Client oAuth2Client, NuxeoPrincipal principal) static DocumentModel
OAuth2Client.fromOAuth2Client
(OAuth2Client oAuth2Client) Creates aDocumentModel
from anOAuth2Client
.OAuth2Client.toMap
(OAuth2Client oAuth2Client) Converts anOAuth2Client
to map structure.OAuth2ClientService.update
(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) Updates an exiting oAuth2 client as the given principal.OAuth2ClientServiceImpl.update
(String clientId, OAuth2Client oAuth2Client, NuxeoPrincipal principal) static DocumentModel
OAuth2Client.updateDocument
(DocumentModel documentModel, OAuth2Client oAuth2Client) Updates theDocumentModel
by theOAuth2Client
.protected void
OAuth2ClientServiceImpl.validate
(OAuth2Client oAuth2Client) Validates theOAuth2Client
.protected void
OAuth2ClientWriter.writeEntityBody
(OAuth2Client client, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of OAuth2Client in org.nuxeo.ecm.restapi.server.jaxrs
Modifier and TypeMethodDescriptionOAuth2Object.getClients
(javax.servlet.http.HttpServletRequest request) Retrieves oauth2 clients.Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
OAuth2Object.createClient
(OAuth2Client client) Creates a new oauth2 client.protected NuxeoOAuth2Token
OAuth2Object.getToken
(OAuth2Client client, String nxuser) protected DocumentModel
OAuth2Object.getTokenDoc
(OAuth2Client client, String nxuser) javax.ws.rs.core.Response
OAuth2Object.updateClient
(String clientId, OAuth2Client client) Updates the oauth2 client.protected NuxeoOAuth2Token
OAuth2Object.updateToken
(OAuth2Client client, String nxuser, NuxeoOAuth2Token token)