Uses of Class
org.nuxeo.ecm.platform.oauth2.tokens.NuxeoOAuth2Token
Package
Description
-
Uses of NuxeoOAuth2Token in org.nuxeo.ecm.liveconnect.box
Modifier and TypeMethodDescriptionprotected com.box.sdk.BoxAPIConnection
BoxBlobProvider.getBoxClient
(NuxeoOAuth2Token token) -
Uses of NuxeoOAuth2Token in org.nuxeo.ecm.liveconnect.core
Modifier and TypeMethodDescriptionprotected com.google.api.client.auth.oauth2.Credential
AbstractLiveConnectBlobProvider.getCredential
(NuxeoOAuth2Token token) -
Uses of NuxeoOAuth2Token in org.nuxeo.ecm.platform.oauth2
Modifier and TypeMethodDescriptionprotected void
NuxeoOAuth2Servlet.handleTokenResponse
(NuxeoOAuth2Token token, javax.servlet.http.HttpServletResponse response) -
Uses of NuxeoOAuth2Token in org.nuxeo.ecm.platform.oauth2.tokens
Modifier and TypeMethodDescriptionRetrieves an entry by itsaccessToken
.Retrieves an entry by itsclientId
andnuxeoLogin
.protected NuxeoOAuth2Token
OAuth2TokenStore.getTokenFromDirectoryEntry
(DocumentModel entry) protected NuxeoOAuth2Token
NuxeoOAuth2TokenReader.readEntity
(com.fasterxml.jackson.databind.JsonNode jn) OAuth2TokenStore.refresh
(DocumentModel entry, NuxeoOAuth2Token token) protected NuxeoOAuth2Token
OAuth2TokenStore.storeTokenAsDirectoryEntry
(NuxeoOAuth2Token aToken) Modifier and TypeMethodDescriptionprotected List<NuxeoOAuth2Token>
OAuth2TokenServiceImpl.findTokens
(QueryBuilder queryBuilder) protected List<NuxeoOAuth2Token>
OAuth2TokenServiceImpl.findTokens
(QueryBuilder queryBuilder, NuxeoPrincipal principal) Gets the OAuth2 tokens for the given user.OAuth2TokenService.getTokens
(String nxuser, NuxeoOAuth2TokenType type) Gets the OAuth2 tokens from a given user name and a type.OAuth2TokenService.getTokens
(NuxeoPrincipal principal) Gets the oAuth2 tokens as the given principal.OAuth2TokenService.getTokens
(NuxeoOAuth2TokenType type, NuxeoPrincipal principal) Gets the oAuth2 tokens for a given type as the given principal.OAuth2TokenServiceImpl.getTokens
(String nxuser, NuxeoOAuth2TokenType type) OAuth2TokenServiceImpl.getTokens
(NuxeoPrincipal principal) OAuth2TokenServiceImpl.getTokens
(NuxeoOAuth2TokenType type, NuxeoPrincipal principal) OAuth2TokenService.search
(String query, NuxeoPrincipal principal) Finds the oAuth2 tokens that match the givenquery
as the given principal.OAuth2TokenServiceImpl.search
(String query, NuxeoPrincipal principal) Modifier and TypeMethodDescriptionOAuth2TokenStore.refresh
(DocumentModel entry, NuxeoOAuth2Token token) void
OAuth2TokenStore.store
(String userId, NuxeoOAuth2Token token) protected NuxeoOAuth2Token
OAuth2TokenStore.storeTokenAsDirectoryEntry
(NuxeoOAuth2Token aToken) boolean
OAuth2TokenStore.update
(NuxeoOAuth2Token token) protected void
NuxeoOAuth2TokenWriter.writeEntityBody
(NuxeoOAuth2Token token, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of NuxeoOAuth2Token in org.nuxeo.ecm.restapi.server.jaxrs
Modifier and TypeMethodDescriptionprotected NuxeoOAuth2Token
OAuth2Object.getToken
(OAuth2Client client, String nxuser) protected NuxeoOAuth2Token
OAuth2Object.getToken
(NuxeoOAuth2ServiceProvider provider, String nxuser) protected NuxeoOAuth2Token
OAuth2Object.updateToken
(OAuth2Client client, String nxuser, NuxeoOAuth2Token token) protected NuxeoOAuth2Token
OAuth2Object.updateToken
(NuxeoOAuth2ServiceProvider provider, String nxuser, NuxeoOAuth2Token token) Modifier and TypeMethodDescriptionOAuth2Object.getClientUserTokens
(javax.servlet.http.HttpServletRequest request) Retrieves all oauth2 client tokens for the current user.OAuth2Object.getProviderUserTokens
(javax.servlet.http.HttpServletRequest request) Retrieves all oauth2 provider tokens for the current user.protected List<NuxeoOAuth2Token>
OAuth2Object.getTokens()
Deprecated, for removal: This API element is subject to removal in a future version.since 11.1.protected List<NuxeoOAuth2Token>
Deprecated, for removal: This API element is subject to removal in a future version.since 11.1.OAuth2Object.getTokens
(javax.servlet.http.HttpServletRequest request) Retrieves all OAuth2 tokens.OAuth2Object.getTokens
(NuxeoOAuth2TokenType type) Retrieves all oAuth2 tokens byNuxeoOAuth2TokenType
.OAuth2Object.searchTokens
(String query) Search all oAuth2 tokens that match the query.Modifier and TypeMethodDescriptionprotected com.google.api.client.auth.oauth2.Credential
OAuth2Object.getCredential
(NuxeoOAuth2ServiceProvider provider, NuxeoOAuth2Token token) javax.ws.rs.core.Response
OAuth2Object.updateClientToken
(String clientId, String nxuser, javax.servlet.http.HttpServletRequest request, NuxeoOAuth2Token token) Updates an OAuth2 client token.javax.ws.rs.core.Response
OAuth2Object.updateProviderToken
(String providerId, String nxuser, javax.servlet.http.HttpServletRequest request, NuxeoOAuth2Token token) Updates an OAuth2 provider token.javax.ws.rs.core.Response
OAuth2Object.updateToken
(String providerId, String nxuser, javax.servlet.http.HttpServletRequest request, NuxeoOAuth2Token token) Deprecated.since 10.2 UseOAuth2Object.updateProviderToken(String, String, HttpServletRequest, NuxeoOAuth2Token)
instead.protected NuxeoOAuth2Token
OAuth2Object.updateToken
(OAuth2Client client, String nxuser, NuxeoOAuth2Token token) protected NuxeoOAuth2Token
OAuth2Object.updateToken
(NuxeoOAuth2ServiceProvider provider, String nxuser, NuxeoOAuth2Token token) protected void
OAuth2Object.updateTokenDoc
(NuxeoOAuth2Token token, DocumentModel entry)