Package | Description |
---|---|
com.atlassian.jira.user |
Modifier and Type | Method and Description |
---|---|
static SecureUserTokenManager.TokenType |
SecureUserTokenManager.TokenType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecureUserTokenManager.TokenType[] |
SecureUserTokenManager.TokenType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
DefaultSecureUserTokenManager.generateToken(ApplicationUser user,
SecureUserTokenManager.TokenType tokenType) |
String |
SecureUserTokenManager.generateToken(ApplicationUser user,
SecureUserTokenManager.TokenType tokenType)
Given a user and tokentype this method creates a new secure token and returns this token.
|
ApplicationUser |
DefaultSecureUserTokenManager.useToken(String token,
SecureUserTokenManager.TokenType tokenType) |
ApplicationUser |
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.
|
Copyright © 2002-2021 Atlassian. All Rights Reserved.