org.apache.oltu.oauth2.common.domain.credentials
Class BasicCredentials

java.lang.Object
  extended by org.apache.oltu.oauth2.common.domain.credentials.BasicCredentials
All Implemented Interfaces:
Credentials

public class BasicCredentials
extends Object
implements Credentials


Constructor Summary
BasicCredentials(String clientId, String clientSecret, Long issuedAt, Long expiresIn)
           
 
Method Summary
 boolean equals(Object o)
           
 String getClientId()
           
 String getClientSecret()
           
 Long getExpiresIn()
           
 Long getIssuedAt()
           
 int hashCode()
           
 void setClientId(String clientId)
           
 void setClientSecret(String clientSecret)
           
 void setExpiresIn(Long expiresIn)
           
 void setIssuedAt(Long issuedAt)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicCredentials

public BasicCredentials(String clientId,
                        String clientSecret,
                        Long issuedAt,
                        Long expiresIn)
Method Detail

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–2014 The Apache Software Foundation. All rights reserved.