Package com.okta.sdk.resource.model
Class PasswordCredential
java.lang.Object
com.okta.sdk.resource.model.PasswordCredential
- 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 PasswordCredential
extends Object
implements Serializable
Specifies a password for a user. When a User has a valid password, imported hashed password, or password hook, and a
response object contains a password credential, then the password object is a bare object without the value property
defined (for example, `password: {}`). This indicates that a password value exists. You can modify password
policy requirements in the Admin Console by editing the Password authenticator: **Security** > **Authenticators**
> **Password** (or for Okta Classic orgs, use **Security** > **Authentication** > **Password**). For
information on defaults and configuring your password policies, see [Configure the password
authenticator](https://help.okta.com/okta_help.htm?type=oie&id=ext-configure-password) in the help
documentation.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getHash()
Get hashgetHook()
Get hookgetValue()
Specifies the password for a user.hash
(PasswordCredentialHash hash) int
hashCode()
hook
(PasswordCredentialHook hook) void
void
void
toString()
-
Field Details
-
JSON_PROPERTY_HASH
- See Also:
-
JSON_PROPERTY_HOOK
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
PasswordCredential
public PasswordCredential()
-
-
Method Details
-
hash
-
getHash
Get hash- Returns:
- hash
-
setHash
-
hook
-
getHook
Get hook- Returns:
- hook
-
setHook
-
value
-
getValue
Specifies the password for a user. The Password Policy validates this password.- Returns:
- value
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-