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-23T16:19:57.008753975Z[Etc/UTC]",
           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
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetHash()Get hashgetHook()Get hookgetValue()Specifies the password for a user.hash(PasswordCredentialHash hash) inthashCode()hook(PasswordCredentialHook hook) voidvoidvoidtoString() 
- 
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
 
 -