signup-password screen functionality. This screen collects the user’s password.
Constructors
Create an instance of SignupPassword screen manager
Example
Properties
branding
Provides branding-related configurations, such as branding theme and settings.
client
Provides client-related configurations, such as
id, name, and logoUrl, for the login screen.organization
Provides information about the user’s organization, such as organization
id and name.prompt
Contains data about the current prompt in the authentication flow.
screen
Contains details specific to the
signup-password screen, including its configuration and context.tenant
Contains data related to the tenant, such as
id and associated metadata.transaction
Provides transaction-specific data for the
signup-password screen, such as active identifiers and flow states.untrustedData
Handles untrusted data passed to the SDK, such as user input during login.
user
Details of the active user, including
username, email, and roles.Methods
Example
getErrors
This method retrieves the array of transaction errors from the context, or an empty array if none exist. An array of error objects from the transaction context.
Example
validatePassword
This method validates a password string against the current transaction’s password policy. This method retrieves the password policy from the current transaction context and delegates the actual validation to Method Parameters
coreValidatePassword.It returns an array of validation results, each containing:code: the identifier of the password rule,policy: a user-friendly description of the rule,isValid: boolean indicating if the password passed that rule.
Example