@Service public class KeycloakTokenServiceImpl extends Object implements KeycloakTokenService
| Constructor and Description |
|---|
KeycloakTokenServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
BearerTokenTO |
exchangeToken(String oldToken,
Integer timeToLive,
String scope) |
BearerTokenTO |
login(String username,
String password) |
BearerTokenTO |
validate(String token) |
public BearerTokenTO login(String username, String password)
login in interface KeycloakTokenServicepublic BearerTokenTO exchangeToken(String oldToken, Integer timeToLive, String scope)
exchangeToken in interface KeycloakTokenServicepublic BearerTokenTO validate(String token)
validate in interface KeycloakTokenServiceCopyright © 2020. All rights reserved.