Uses of Enum Class
com.atlassian.jira.user.SecureUserTokenManager.TokenType
Packages that use SecureUserTokenManager.TokenType
-
Uses of SecureUserTokenManager.TokenType in com.atlassian.jira.user
Methods in com.atlassian.jira.user that return SecureUserTokenManager.TokenTypeModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SecureUserTokenManager.TokenType[]SecureUserTokenManager.TokenType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.atlassian.jira.user with parameters of type SecureUserTokenManager.TokenTypeModifier and TypeMethodDescriptionDefaultSecureUserTokenManager.generateToken(ApplicationUser user, SecureUserTokenManager.TokenType tokenType) SecureUserTokenManager.generateToken(ApplicationUser user, SecureUserTokenManager.TokenType tokenType) Given a user and tokentype this method creates a new secure token and returns this token.DefaultSecureUserTokenManager.useToken(String token, SecureUserTokenManager.TokenType tokenType) SecureUserTokenManager.useToken(String token, SecureUserTokenManager.TokenType tokenType) Given a token and tokenType, this method returns the User that was mapped to this token and then revokes the token to ensure it can't be used again.