Class AccessToken
java.lang.Object
com.polarion.platform.security.login.AccessToken
- All Implemented Interfaces:
ILoginAuthenticator
Authenticator type to use with personal access token
- Since:
- 3.22.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get an authenticator ID.static AccessToken
id()
Create a typed authenticator ID.static IToken<AccessToken>
Prepare and create a typed personal access token instance.
-
Field Details
-
MECHANISM
- See Also:
-
-
Constructor Details
-
AccessToken
public AccessToken()
-
-
Method Details
-
id
Create a typed authenticator ID.- Returns:
- typed authenticator ID.
-
getId
Description copied from interface:ILoginAuthenticator
Get an authenticator ID.- Specified by:
getId
in interfaceILoginAuthenticator
- Returns:
- authenticator ID.
-
token
Prepare and create a typed personal access token instance.- Parameters:
token
- raw personal access token as it is received.- Returns:
- typed and prepared token instance.
-