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 boolean
equals(java.lang.Object o)
java.lang.String
getJwtUserIdentifier()
Gets the JWT User Identifierint
hashCode()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-