Class OAuth2
java.lang.Object
com.polarion.platform.security.login.OAuth2
- All Implemented Interfaces:
ILoginAuthenticator
Configures login flow to use OAuth2 token for authentication.
- Since:
- 3.21.1
-
Method Summary
-
Method Details
-
id
Create a typed authenticator id.- Parameters:
id
- authenticator ID.- Returns:
- type 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 OAuth2 token instance.- Parameters:
accessToken
- OAuth2 access token as it is received.idToken
- OAuth2 ID token if it is received.- Returns:
- typed and prepared token instance.
-