Package org.nuxeo.ecm.liveconnect.core
Class OAuth2CredentialFactory
- java.lang.Object
-
- org.nuxeo.ecm.liveconnect.core.OAuth2CredentialFactory
-
- All Implemented Interfaces:
CredentialFactory
public class OAuth2CredentialFactory extends Object implements CredentialFactory
OAuth2 credential factory.- Since:
- 8.1
-
-
Constructor Summary
Constructors Constructor Description OAuth2CredentialFactory(OAuth2ServiceProvider provider)
-
-
-
Constructor Detail
-
OAuth2CredentialFactory
public OAuth2CredentialFactory(OAuth2ServiceProvider provider)
-
-
Method Detail
-
build
public com.google.api.client.auth.oauth2.Credential build(String user) throws IOException
- Specified by:
build
in interfaceCredentialFactory
- Throws:
IOException
-
-