Class OAuth1CredentialsInfoImpl
- java.lang.Object
-
- org.alfresco.repo.remotecredentials.AbstractCredentialsImpl
-
- org.alfresco.repo.remotecredentials.OAuth1CredentialsInfoImpl
-
- All Implemented Interfaces:
java.io.Serializable,PermissionCheckValue,BaseCredentialsInfo,OAuth1CredentialsInfo
public class OAuth1CredentialsInfoImpl extends AbstractCredentialsImpl implements OAuth1CredentialsInfo
This class represents an OAuth 1.0 based set of credentials- Since:
- Odin
- Author:
- Nick Burch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuth1CredentialsInfoImpl()OAuth1CredentialsInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.lang.String remoteSystemName, org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetOAuthSecret()java.lang.StringgetOAuthToken()voidsetOAuthSecret(java.lang.String secret)voidsetOAuthToken(java.lang.String token)-
Methods inherited from class org.alfresco.repo.remotecredentials.AbstractCredentialsImpl
getCredentialsType, getLastAuthenticationSucceeded, getNodeRef, getRemoteSystemContainerNodeRef, getRemoteSystemName, getRemoteUsername, setLastAuthenticationSucceeded, setRemoteUsername
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.service.cmr.remotecredentials.BaseCredentialsInfo
getCredentialsType, getLastAuthenticationSucceeded, getNodeRef, getRemoteSystemContainerNodeRef, getRemoteSystemName, getRemoteUsername
-
-
-
-
Constructor Detail
-
OAuth1CredentialsInfoImpl
public OAuth1CredentialsInfoImpl()
-
OAuth1CredentialsInfoImpl
public OAuth1CredentialsInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.lang.String remoteSystemName, org.alfresco.service.cmr.repository.NodeRef remoteSystemContainerNodeRef)
-
-
Method Detail
-
getOAuthToken
public java.lang.String getOAuthToken()
- Specified by:
getOAuthTokenin interfaceOAuth1CredentialsInfo- Returns:
- the OAuth Token Identifier
-
setOAuthToken
public void setOAuthToken(java.lang.String token)
-
getOAuthSecret
public java.lang.String getOAuthSecret()
- Specified by:
getOAuthSecretin interfaceOAuth1CredentialsInfo- Returns:
- the OAuth Token Secret
-
setOAuthSecret
public void setOAuthSecret(java.lang.String secret)
-
-