org.apache.amber.oauth2.common.domain.credentials
Class BasicCredentials
java.lang.Object
org.apache.amber.oauth2.common.domain.credentials.BasicCredentials
- All Implemented Interfaces:
- Credentials
public class BasicCredentials
- extends Object
- implements Credentials
BasicCredentials
public BasicCredentials(String clientId,
String clientSecret,
Long issuedAt,
Long expiresIn)
getClientId
public String getClientId()
- Specified by:
getClientId
in interface Credentials
getClientSecret
public String getClientSecret()
- Specified by:
getClientSecret
in interface Credentials
getIssuedAt
public Long getIssuedAt()
- Specified by:
getIssuedAt
in interface Credentials
getExpiresIn
public Long getExpiresIn()
- Specified by:
getExpiresIn
in interface Credentials
setClientId
public void setClientId(String clientId)
setClientSecret
public void setClientSecret(String clientSecret)
setIssuedAt
public void setIssuedAt(Long issuedAt)
setExpiresIn
public void setExpiresIn(Long expiresIn)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.