Class BasicCredentials
- java.lang.Object
-
- org.apache.oltu.oauth2.common.domain.credentials.BasicCredentials
-
- All Implemented Interfaces:
Credentials
public class BasicCredentials extends java.lang.Object implements Credentials
-
-
Constructor Summary
Constructors Constructor Description BasicCredentials(java.lang.String clientId, java.lang.String clientSecret, java.lang.Long issuedAt, java.lang.Long expiresIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getClientId()
java.lang.String
getClientSecret()
java.lang.Long
getExpiresIn()
java.lang.Long
getIssuedAt()
int
hashCode()
void
setClientId(java.lang.String clientId)
void
setClientSecret(java.lang.String clientSecret)
void
setExpiresIn(java.lang.Long expiresIn)
void
setIssuedAt(java.lang.Long issuedAt)
-
-
-
Method Detail
-
getClientId
public java.lang.String getClientId()
- Specified by:
getClientId
in interfaceCredentials
-
getClientSecret
public java.lang.String getClientSecret()
- Specified by:
getClientSecret
in interfaceCredentials
-
getIssuedAt
public java.lang.Long getIssuedAt()
- Specified by:
getIssuedAt
in interfaceCredentials
-
getExpiresIn
public java.lang.Long getExpiresIn()
- Specified by:
getExpiresIn
in interfaceCredentials
-
setClientId
public void setClientId(java.lang.String clientId)
-
setClientSecret
public void setClientSecret(java.lang.String clientSecret)
-
setIssuedAt
public void setIssuedAt(java.lang.Long issuedAt)
-
setExpiresIn
public void setExpiresIn(java.lang.Long expiresIn)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-