Class HvlAuthAuthenticationRequestModel
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.cloud.client.model.HvlAuthAuthenticationRequestModel
- All Implemented Interfaces:
Serializable
A data transfer object is used for authentication request.
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates a new HvlAuthAuthenticationRequestModel.HvlAuthAuthenticationRequestModel
(String username) Instantiates a new HvlAuthAuthenticationRequestModel.HvlAuthAuthenticationRequestModel
(String username, String password) Instantiates a new HvlAuthAuthenticationRequestModel. -
Method Summary
Modifier and TypeMethodDescriptionGets authentication type.Gets captcha verification code.Gets password.Gets tenant.Gets username.void
setAuthenticationType
(HvlAuthAuthenticationType authenticationType) Sets authentication type.void
setCaptchaVerificationCode
(String captchaVerificationCode) Sets captcha verification code.void
setPassword
(String password) Sets password.void
Sets tenant.void
setUsername
(String username) Sets username.
-
Constructor Details
-
HvlAuthAuthenticationRequestModel
public HvlAuthAuthenticationRequestModel()Instantiates a new HvlAuthAuthenticationRequestModel. -
HvlAuthAuthenticationRequestModel
Instantiates a new HvlAuthAuthenticationRequestModel.- Parameters:
username
- the username
-
HvlAuthAuthenticationRequestModel
Instantiates a new HvlAuthAuthenticationRequestModel.- Parameters:
username
- the usernamepassword
- the password
-
-
Method Details
-
getUsername
Gets username.- Returns:
- the username
-
setUsername
Sets username.- Parameters:
username
- the username
-
getPassword
Gets password.- Returns:
- the password
-
setPassword
Sets password.- Parameters:
password
- the password
-
getTenant
Gets tenant.- Returns:
- the tenant
-
setTenant
Sets tenant.- Parameters:
tenant
- the tenant
-
getCaptchaVerificationCode
Gets captcha verification code.- Returns:
- the captcha verification code
-
setCaptchaVerificationCode
Sets captcha verification code.- Parameters:
captchaVerificationCode
- the captcha verification code
-
getAuthenticationType
Gets authentication type.- Returns:
- the authentication type
-
setAuthenticationType
Sets authentication type.- Parameters:
authenticationType
- the authentication type
-