Class HvlAuthSettingRestController
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.controller.HvlAuthSettingRestController
- All Implemented Interfaces:
HvlAuthSettingRestService
@RestController
@RequestMapping("${hvl.oauth.auth.setting.service.controller-path:/auth/setting}")
@HvlActuatorService(name="hvlAuthSettingRestService",
groupName="hvlAuth")
public class HvlAuthSettingRestController
extends Object
implements HvlAuthSettingRestService
The class in which service endpoints are defined for authentication settings operations.
-
Constructor Summary
ConstructorDescriptionHvlAuthSettingRestController
(HvlOAuthSettingIntegrationProvider settingIntegrationProvider) Instantiates a new Hvl auth setting rest controller. -
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<Boolean> Gets register enabled.tr.com.havelsan.javarch.service.data.HvlResponse
<String> Gets register user detail types.tr.com.havelsan.javarch.service.data.HvlResponse
<String> Gets two factor authentication types.tr.com.havelsan.javarch.service.data.HvlResponse
<Long> Gets two factor authentication verification code min duration.
-
Constructor Details
-
HvlAuthSettingRestController
Instantiates a new Hvl auth setting rest controller.- Parameters:
settingIntegrationProvider
- the setting integration provider
-
-
Method Details
-
getRegisterEnabled
Gets register enabled.- Specified by:
getRegisterEnabled
in interfaceHvlAuthSettingRestService
- Returns:
- the register enabled
-
getTwoFactorAuthenticationTypes
Gets two factor authentication types.- Specified by:
getTwoFactorAuthenticationTypes
in interfaceHvlAuthSettingRestService
- Returns:
- the two factor authentication types
-
getRegisterUserDetailTypes
Gets register user detail types.- Specified by:
getRegisterUserDetailTypes
in interfaceHvlAuthSettingRestService
- Returns:
- the register user detail types
-
getTwoFactorAuthenticationVerificationCodeMinDuration
public tr.com.havelsan.javarch.service.data.HvlResponse<Long> getTwoFactorAuthenticationVerificationCodeMinDuration()Gets two factor authentication verification code min duration.- Specified by:
getTwoFactorAuthenticationVerificationCodeMinDuration
in interfaceHvlAuthSettingRestService
- Returns:
- the two factor authentication verification code min duration
-