Package zendesk.core

Class JwtIdentity

  • All Implemented Interfaces:

    public final class JwtIdentity
    extends java.lang.Object
    implements Identity
    This class models a JWT identity which is used to identify an End User within a Zendesk instance.
    • Constructor Summary

      Constructor and Description
      JwtIdentity(java.lang.String jwtUserIdentifier)
      Creates a JWT identity that will be used during identification of a user.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o) 
      java.lang.String getJwtUserIdentifier()
      Gets the JWT User Identifier
      int hashCode() 
      • Methods inherited from class java.lang.Object

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

      • JwtIdentity

        public JwtIdentity(java.lang.String jwtUserIdentifier)
        Creates a JWT identity that will be used during identification of a user. The user identifier will typically be used by the remote system to identify the user there and pass back a token which will be used to identify that user in the Zendesk instance.
        jwtUserIdentifier - The jwt user identifier that corresponds to a user on your system
    • Method Detail

      • getJwtUserIdentifier

        public java.lang.String getJwtUserIdentifier()
        Gets the JWT User Identifier
        the JWT Identifier, or null if it is not set
      • equals

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

        public int hashCode()
        hashCode in class java.lang.Object