Interface HvlAuthzUserFieldValueGeneratorRestService
- All Known Implementing Classes:
HvlAuthzUserFieldValueGeneratorRestController
@Validated
@FeignClient(value="userValueGeneratorRestService",
path="${hvl.oauth.authz.service.user.value-generator.path:/user-value-generators}",
url="${hvl.oauth.authz.service.user.generator.url:${hvl.oauth.authz.service.url}}")
@HvlPublicFeignRestService
public interface HvlAuthzUserFieldValueGeneratorRestService
A restful service which provides specific methods for user field value generator.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<String> generateByStrategyType
(@NotNull @Valid HvlOAuthUserDetailModel userDetailModel, @NotNull HvlOAuthUserGeneratorStrategyType strategyType) Generates user field value by strategy type.
-
Method Details
-
generateByStrategyType
@PostMapping(path="/generate", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<String> generateByStrategyType(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthUserDetailModel userDetailModel, @NotNull @RequestParam("strategyType") @NotNull HvlOAuthUserGeneratorStrategyType strategyType) Generates user field value by strategy type.- Parameters:
userDetailModel
- the user detail modelstrategyType
- the strategy type- Returns:
- the hvl response
-