public class NuxeoOAuth2ServiceProvider extends Object
Constructor and Description |
---|
NuxeoOAuth2ServiceProvider(Long id,
String serviceName,
String tokenServerURL,
String authorizationServerURL,
String clientId,
String clientSecret,
List<String> scopes) |
Modifier and Type | Method and Description |
---|---|
static NuxeoOAuth2ServiceProvider |
createFromDirectoryEntry(DocumentModel entry) |
com.google.api.client.auth.oauth2.AuthorizationCodeFlow |
getAuthorizationCodeFlow(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory) |
String |
getAuthorizationServerURL() |
String |
getClientId() |
String |
getClientSecret() |
com.google.api.client.auth.oauth2.CredentialStore |
getCredentialStore() |
Long |
getId() |
List<String> |
getScopes() |
String |
getServiceName() |
String |
getTokenServerURL() |
public static final String SCHEMA
public static NuxeoOAuth2ServiceProvider createFromDirectoryEntry(DocumentModel entry) throws ClientException
ClientException
public com.google.api.client.auth.oauth2.AuthorizationCodeFlow getAuthorizationCodeFlow(com.google.api.client.http.HttpTransport transport, com.google.api.client.json.JsonFactory jsonFactory)
public com.google.api.client.auth.oauth2.CredentialStore getCredentialStore()
public String getServiceName()
public Long getId()
public String getTokenServerURL()
public String getClientId()
public String getClientSecret()
public String getAuthorizationServerURL()
Copyright © 2015 Nuxeo SA. All rights reserved.