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:
  • Constructor Details

  • Method Details

    • getToken

      public String getToken()
    • getSecret

      public String getSecret()
    • getRaw

      public String getRaw()
    • getExpiresAt

      public long getExpiresAt()
    • isExpired

      public boolean isExpired()
    • getProviderId

      public String getProviderId()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object