Class KeycloakTokenServiceImpl
- java.lang.Object
-
- de.adorsys.ledgers.keycloak.client.impl.KeycloakTokenServiceImpl
-
- All Implemented Interfaces:
KeycloakTokenService
@Service public class KeycloakTokenServiceImpl extends Object implements KeycloakTokenService
-
-
Constructor Summary
Constructors Constructor Description KeycloakTokenServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BearerTokenTOexchangeToken(String oldToken, Integer timeToLive, String scope)BearerTokenTOlogin(String username, String password)BearerTokenTOvalidate(String token)
-
-
-
Method Detail
-
login
public BearerTokenTO login(String username, String password)
- Specified by:
loginin interfaceKeycloakTokenService
-
exchangeToken
public BearerTokenTO exchangeToken(String oldToken, Integer timeToLive, String scope)
- Specified by:
exchangeTokenin interfaceKeycloakTokenService
-
validate
public BearerTokenTO validate(String token)
- Specified by:
validatein interfaceKeycloakTokenService
-
-