Package zendesk.core
Class JwtIdentity
- java.lang.Object
 - 
- zendesk.core.JwtIdentity
 
 
- 
- 
Constructor Summary
Constructors 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 booleanequals(java.lang.Object o)java.lang.StringgetJwtUserIdentifier()Gets the JWT User IdentifierinthashCode() 
 - 
 
- 
- 
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.- Parameters:
 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- Returns:
 - the JWT Identifier, or null if it is not set
 
 
- 
equals
public boolean equals(java.lang.Object o)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
 - 
 
 -