@Service(value="tokenServiceV3") public class TokenService extends Object
PowerAuth protocol versions:
| Constructor and Description |
|---|
TokenService() |
| Modifier and Type | Method and Description |
|---|---|
io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse |
createToken(io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
PowerAuthApiAuthentication authentication)
Create token.
|
io.getlime.security.powerauth.rest.api.model.response.v3.TokenRemoveResponse |
removeToken(io.getlime.security.powerauth.rest.api.model.request.v3.TokenRemoveRequest request,
PowerAuthApiAuthentication authentication)
Remove token.
|
void |
setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient) |
@Autowired public void setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient)
public io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse createToken(io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
PowerAuthApiAuthentication authentication)
throws PowerAuthAuthenticationException
request - ECIES encrypted create token request.authentication - PowerAuth API authentication object.PowerAuthAuthenticationException - In case token could not be created.public io.getlime.security.powerauth.rest.api.model.response.v3.TokenRemoveResponse removeToken(io.getlime.security.powerauth.rest.api.model.request.v3.TokenRemoveRequest request,
PowerAuthApiAuthentication authentication)
throws PowerAuthAuthenticationException
request - Remove token request.authentication - PowerAuth API authentication object.PowerAuthAuthenticationException - In case authentication fails.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.