Package com.atlassian.jira.security.jwt
Class ImageAttachmentJwtToken
java.lang.Object
com.atlassian.jira.security.jwt.ImageAttachmentJwtToken
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedImageAttachmentJwtToken(boolean isTokenValid, String userName, String absoluteRequestUrl, Long createdAtMillis) -
Method Summary
Modifier and TypeMethodDescriptionlonggetTokenAgeSeconds(long currentTimeMillis) booleanisMatchingUrl(String absoluteRequestUrl) booleanisMatchingUserName(String userName) booleanboolean
-
Constructor Details
-
ImageAttachmentJwtToken
-
-
Method Details
-
isMatchingUrl
-
isMatchingUserName
-
isTokenValid
public boolean isTokenValid() -
isTokenExpired
public boolean isTokenExpired() -
getUserName
-
getAbsoluteRequestUrl
-
getTokenAgeSeconds
public long getTokenAgeSeconds(long currentTimeMillis)
-