Package com.okta.sdk.resource.model
Class UserCredentials
java.lang.Object
com.okta.sdk.resource.model.UserCredentials
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class UserCredentials
extends Object
implements Serializable
Specifies primary authentication and recovery credentials for a User. Credential types and requirements vary
depending on the provider and security policy of the org.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get passwordGet providerGet recoveryQuestionint
hashCode()
password
(PasswordCredential password) provider
(AuthenticationProvider provider) recoveryQuestion
(RecoveryQuestionCredential recoveryQuestion) void
setPassword
(PasswordCredential password) void
setProvider
(AuthenticationProvider provider) void
setRecoveryQuestion
(RecoveryQuestionCredential recoveryQuestion) toString()
-
Field Details
-
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_PROVIDER
- See Also:
-
JSON_PROPERTY_RECOVERY_QUESTION
- See Also:
-
-
Constructor Details
-
UserCredentials
public UserCredentials()
-
-
Method Details
-
password
-
getPassword
Get password- Returns:
- password
-
setPassword
-
provider
-
getProvider
Get provider- Returns:
- provider
-
setProvider
-
recoveryQuestion
-
getRecoveryQuestion
Get recoveryQuestion- Returns:
- recoveryQuestion
-
setRecoveryQuestion
-
equals
-
hashCode
public int hashCode() -
toString
-