Class SelfAuthenticationTokenGenerator
- java.lang.Object
-
- com.atlassian.connect.spring.internal.request.jwt.SelfAuthenticationTokenGenerator
-
@Component public class SelfAuthenticationTokenGenerator extends Object
A generator of JSON Web Tokens for authenticating requests from the add-on to itself.
-
-
Field Summary
Fields Modifier and Type Field Description static String
HOST_CLIENT_KEY_CLAIM
The name of the JWT claim used for the client key of the Atlassian host in self-authentication tokens
-
Constructor Summary
Constructors Constructor Description SelfAuthenticationTokenGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createSelfAuthenticationToken(AtlassianHostUser hostUser)
-
-
-
Field Detail
-
HOST_CLIENT_KEY_CLAIM
public static final String HOST_CLIENT_KEY_CLAIM
The name of the JWT claim used for the client key of the Atlassian host in self-authentication tokens- See Also:
- Constant Field Values
-
-
Method Detail
-
createSelfAuthenticationToken
public String createSelfAuthenticationToken(AtlassianHostUser hostUser)
-
-