Class OAuthToken
- java.lang.Object
-
- com.google.gerrit.extensions.auth.oauth.OAuthToken
-
- All Implemented Interfaces:
Serializable
public class OAuthToken extends Object implements Serializable
OAuth token.Only implements
Serializable
for backwards compatibility; new extensions should not depend on the serialized format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuthToken(String token, String secret, String raw)
OAuthToken(String token, String secret, String raw, long expiresAt, String providerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getExpiresAt()
String
getProviderId()
String
getRaw()
String
getSecret()
String
getToken()
int
hashCode()
boolean
isExpired()
String
toString()
-