java.lang.Object | |
↳ | com.atlassian.jira.user.DefaultSecureUserTokenManager |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Given a user and tokentype this method creates a new secure token and returns this token.
| |||||||||||
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.
|
[Expand]
Inherited Methods | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||
From interface
com.atlassian.jira.user.SecureUserTokenManager
|
Given a user and tokentype this method creates a new secure token and returns this token. A particular user can have multiple tokens mapped at any given time.
user | The user this token is for |
---|---|
tokenType | The TokenType for this token |
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.
token | A secure token |
---|---|
tokenType | The TokenType for this token |