Specifies a user's credentials for the app. This parameter can be omitted for apps with sign-on mode (signOnMode) or authentication schemes (credentials.scheme) that don't require credentials.
| Name | Type | Description | Notes |
|---|---|---|---|
| password | AppUserPasswordCredential | [optional] | |
| user_name | str | The user's username in the app > Note: The userNameTemplate 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, the following error is returned: > "Credentials should not be set on this resource based on the scheme." | [optional] |
from okta.models.app_user_credentials import AppUserCredentials
# TODO update the JSON string below
json = "{}"
# create an instance of AppUserCredentials from a JSON string
app_user_credentials_instance = AppUserCredentials.from_json(json)
# print the JSON string representation of the object
print(AppUserCredentials.to_json())
# convert the object into a dict
app_user_credentials_dict = app_user_credentials_instance.to_dict()
# create an instance of AppUserCredentials from a dict
app_user_credentials_from_dict = AppUserCredentials.from_dict(app_user_credentials_dict)