Class AccessToken



  • public class AccessToken
    extends java.lang.Object
    Access token representing a token that authorizes the user in Zendesk service API.
    • Constructor Summary

      Constructors 
      Constructor and Description
      AccessToken() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o) 
      java.lang.String getAccessToken()
      OAuth access token returned as a response to the authentication requests
      java.lang.String getUserId()
      Gets the user ID used to identify a user in Zendesk.
      int hashCode() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccessToken

        public AccessToken()
    • Method Detail

      • getAccessToken

        public java.lang.String getAccessToken()
        OAuth access token returned as a response to the authentication requests
        Returns:
        String OAuth access token
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getUserId

        public java.lang.String getUserId()
        Gets the user ID used to identify a user in Zendesk. This should be sent as "userId" in every blip.
        Returns:
        the user ID