@Service(value="tokenServiceV2") 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.v2.TokenCreateResponse |
createToken(io.getlime.security.powerauth.rest.api.model.request.v2.TokenCreateRequest request,
PowerAuthApiAuthentication authentication)
Create 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.v2.TokenCreateResponse createToken(io.getlime.security.powerauth.rest.api.model.request.v2.TokenCreateRequest request,
PowerAuthApiAuthentication authentication)
throws PowerAuthAuthenticationException
request - Create token request.authentication - PowerAuth API authentication.PowerAuthAuthenticationException - In case token could not be created.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.