@Controller @RequestMapping(value="pa/token") public class TokenController extends Object
| Constructor and Description |
|---|
TokenController(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient) |
| Modifier and Type | Method and Description |
|---|---|
io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.TokenCreateResponse> |
createToken(io.getlime.core.rest.model.base.request.ObjectRequest<io.getlime.security.powerauth.rest.api.model.request.TokenCreateRequest> request,
PowerAuthApiAuthentication authentication) |
io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.TokenRemoveResponse> |
removeToken(io.getlime.core.rest.model.base.request.ObjectRequest<io.getlime.security.powerauth.rest.api.model.request.TokenRemoveRequest> request,
PowerAuthApiAuthentication authentication) |
@Autowired public TokenController(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient)
@RequestMapping(value="create",
method=POST)
@ResponseBody
public io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.TokenCreateResponse> createToken(@RequestBody
io.getlime.core.rest.model.base.request.ObjectRequest<io.getlime.security.powerauth.rest.api.model.request.TokenCreateRequest> request,
PowerAuthApiAuthentication authentication)
throws PowerAuthAuthenticationException
PowerAuthAuthenticationException@RequestMapping(value="remove",
method=POST)
@ResponseBody
public io.getlime.core.rest.model.base.response.ObjectResponse<io.getlime.security.powerauth.rest.api.model.response.TokenRemoveResponse> removeToken(@RequestBody
io.getlime.core.rest.model.base.request.ObjectRequest<io.getlime.security.powerauth.rest.api.model.request.TokenRemoveRequest> request,
PowerAuthApiAuthentication authentication)
throws PowerAuthAuthenticationException
PowerAuthAuthenticationExceptionCopyright © 2017–2018 Lime - HighTech Solutions Inc.. All rights reserved.