Package com.okta.sdk.resource.model
Class AppUserCredentials
java.lang.Object
com.okta.sdk.resource.model.AppUserCredentials
- 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 AppUserCredentials
extends Object
implements Serializable
Specifies a user's credentials for the app. This parameter can be omitted for apps with [sign-on
mode](/openapi/okta-management/management/tag/Application/#tag/Application/operation/getApplication!c=200&path=0/signOnMode&t=response)
(`signOnMode`) or [authentication
schemes](/openapi/okta-management/management/tag/Application/#tag/Application/operation/getApplication!c=200&path=0/credentials/scheme&t=response)
(`credentials.scheme`) that don't require credentials.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get passwordThe user's username in the app > **Note:** The [userNameTemplate](/openapi/okta-management/management/tag/Application/#tag/Application/operation/createApplication!path=0/credentials/userNameTemplate&t=request) in the Application object defines the default username generated when a user is assigned to that app.int
hashCode()
password
(AppUserPasswordCredential password) void
setPassword
(AppUserPasswordCredential password) void
setUserName
(String userName) toString()
-
Field Details
-
JSON_PROPERTY_PASSWORD
- See Also:
-
JSON_PROPERTY_USER_NAME
- See Also:
-
-
Constructor Details
-
AppUserCredentials
public AppUserCredentials()
-
-
Method Details
-
password
-
getPassword
Get password- Returns:
- password
-
setPassword
-
userName
-
getUserName
The user's username in the app > **Note:** The [userNameTemplate](/openapi/okta-management/management/tag/Application/#tag/Application/operation/createApplication!path=0/credentials/userNameTemplate&t=request) in the Application object defines the default username generated when a user is assigned to that app. > If you attempt to assign a username or password to an app with an incompatible [authentication scheme](/openapi/okta-management/management/tag/Application/#tag/Application/operation/createApplication!path=0/credentials/scheme&t=request), the following error is returned: > \"Credentials should not be set on this resource based on the scheme.\"- Returns:
- userName
-
setUserName
-
equals
-
hashCode
public int hashCode() -
toString
-