public interface SecureTokenService
SecureTokens| Modifier and Type | Method and Description |
|---|---|
SecureToken |
generate(ResultKey resultKey)
Generates a
SecureToken for a given PlanResultKey |
void |
invalidate(ResultKey resultKey)
Invalidates the
SecureToken for the given ResultKey |
boolean |
isValid(SecureToken tokenToValidate)
Checks if the given
SecureToken is valid |
boolean |
isValid(SecureToken tokenToValidate,
ResultKey resultKey)
Checks if the given
SecureToken is valid for given ResultKey |
static final String BEAN_NAME
@NotNull SecureToken generate(@NotNull ResultKey resultKey)
SecureToken for a given PlanResultKeyresultKey - boolean isValid(@NotNull
SecureToken tokenToValidate)
SecureToken is validtokenToValidate - boolean isValid(@NotNull
SecureToken tokenToValidate,
@NotNull
ResultKey resultKey)
SecureToken is valid for given ResultKeytokenToValidate - resultKey - void invalidate(@NotNull
ResultKey resultKey)
SecureToken for the given ResultKeyresultKey - Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.