@Service(value="activationServiceV3") public class ActivationService extends Object
PowerAuth protocol versions:
| Constructor and Description |
|---|
ActivationService() |
| Modifier and Type | Method and Description |
|---|---|
io.getlime.security.powerauth.rest.api.model.response.v3.ActivationLayer1Response |
createActivation(io.getlime.security.powerauth.rest.api.model.request.v3.ActivationLayer1Request request,
EciesEncryptionContext eciesContext)
Create activation.
|
io.getlime.security.powerauth.rest.api.model.response.v3.ActivationStatusResponse |
getActivationStatus(io.getlime.security.powerauth.rest.api.model.request.v3.ActivationStatusRequest request)
Get activation status.
|
io.getlime.security.powerauth.rest.api.model.response.v3.ActivationRemoveResponse |
removeActivation(PowerAuthApiAuthentication apiAuthentication)
Remove activation.
|
void |
setApplicationConfiguration(PowerAuthApplicationConfiguration applicationConfiguration) |
void |
setPowerAuthActivationProvider(CustomActivationProvider activationProvider) |
void |
setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient) |
@Autowired public void setPowerAuthClient(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient)
@Autowired(required=false) public void setApplicationConfiguration(PowerAuthApplicationConfiguration applicationConfiguration)
@Autowired(required=false) public void setPowerAuthActivationProvider(CustomActivationProvider activationProvider)
public io.getlime.security.powerauth.rest.api.model.response.v3.ActivationLayer1Response createActivation(io.getlime.security.powerauth.rest.api.model.request.v3.ActivationLayer1Request request,
EciesEncryptionContext eciesContext)
throws PowerAuthActivationException,
PowerAuthRecoveryException
request - Create activation layer 1 request.eciesContext - PowerAuth ECIES encryption context.PowerAuthActivationException - In case create activation fails.PowerAuthRecoveryException - In case activation recovery fails.public io.getlime.security.powerauth.rest.api.model.response.v3.ActivationStatusResponse getActivationStatus(io.getlime.security.powerauth.rest.api.model.request.v3.ActivationStatusRequest request)
throws PowerAuthActivationException
request - Activation status request.PowerAuthActivationException - In case retrieving activation status fails.public io.getlime.security.powerauth.rest.api.model.response.v3.ActivationRemoveResponse removeActivation(PowerAuthApiAuthentication apiAuthentication) throws PowerAuthActivationException
apiAuthentication - PowerAuth API authentication object.PowerAuthActivationException - In case remove activation fails.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.