Interface HvlAuthVerificationRestService
- All Known Implementing Classes:
HvlAuthVerificationRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="${hvl.oauth.auth.authentication.verification.service.name:authVerificationRestService}",
path="${hvl.oauth.auth.authentication.verification.service.path:/verification}",
url="${hvl.oauth.auth.authentication.verification.service.url:${hvl.oauth.auth.service.url}}")
public interface HvlAuthVerificationRestService
A restful service which provides specific methods for authentication cloud.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<Boolean>
exists
(@NotNull HvlAuthVerificationRequestModel verificationRequestModel) Code exists.tr.com.havelsan.javarch.service.data.HvlResponse<String>
generate
(@NotNull HvlAuthVerificationRequestModel verificationRequestModel) Code generates.tr.com.havelsan.javarch.service.data.HvlResponse<Boolean>
validate
(@NotNull HvlAuthVerificationRequestModel verificationRequestModel) Code validates.
-
Method Details
-
generate
@PostMapping(value="/generate", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<String> generate(@NotNull @Validated(Generation.class) @RequestBody @NotNull HvlAuthVerificationRequestModel verificationRequestModel) Code generates.- Parameters:
verificationRequestModel
- the verification request model- Returns:
- the hvl response
-
exists
@PostMapping(value="/exists", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Boolean> exists(@NotNull @Validated(Validation.class) @RequestBody @NotNull HvlAuthVerificationRequestModel verificationRequestModel) Code exists.- Parameters:
verificationRequestModel
- the verification request model- Returns:
- the hvl response
- Throws:
HvlAuthException
- the hvl auth exception
-
validate
@PostMapping(value="/validate", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Boolean> validate(@NotNull @Validated(Validation.class) @RequestBody @NotNull HvlAuthVerificationRequestModel verificationRequestModel) Code validates.- Parameters:
verificationRequestModel
- the verification request model- Returns:
- the hvl response
- Throws:
HvlAuthException
- the hvl auth exception
-