WRDAuth
WRD authentication APIs
- RECORD FUNCTION CheckAuthenticationSettings(STRING checks, RECORD authenticationsettings)
Checks if authentication settings complu with password checks
- RECORD FUNCTION CheckPassword(STRING checks, STRING newpassword, RECORD options)
Checks if a password complies with password checks
- RECORD FUNCTION CreateAuthenticationSettingsFromPasswordHash(STRING passwordhash, RECORD options)
Returns authentication settings with the specified password hash as current password.
- STRING FUNCTION DescribePasswordChecks(STRING checks)
- RECORD FUNCTION GetDefaultAuthenticationSettings()
Returns a record with default authentication settings
- RECORD FUNCTION GetDefaultWRDSchemaPasswordPolicy(OBJECT wrdschema)
Returns the default WRD schema password policy
- INTEGER FUNCTION GetPasswordBreachCount(STRING pwd)
Queries the haveibeenpwned (HIBP) service for the breach count of a password
- DATETIME FUNCTION GetPasswordMinValidFrom(STRING duration, RECORD options)
- OBJECT FUNCTION GetWRDAuthPlugin(STRING url, RECORD options)
Get the authentication plugin for the specified url
- OBJECT FUNCTION GetWRDAuthUserAPI(OBJECT wrdschema)
Get the user API of a WRD schema
- BOOLEAN FUNCTION IsDefaultAuthenticationSettings(RECORD value)
Returns whether the specified authentication settings are the default value (no passwords set, no second factor set)
- BOOLEAN FUNCTION IsWHSafePublicEndpoint(STRING url)
Check whether the URL has its own checks (eg authorization or hashed URLs) and should be excepted from login checks
- RECORD ARRAY FUNCTION ParsePasswordChecks(STRING checks, RECORD options)
- OBJECTTYPE WHUserApi
Webhare user API object
- OBJECTTYPE WRDAuthPlugin
WRD auth webdesign plugin
- OBJECTTYPE WRDAuthSupportBase
Base class for WRDuth support objects
Frontend pages
- OBJECT FUNCTION GetWRDAuthPages(OBJECT webdesign, RECORD options)
Implement standard login/passwordreset etc pages
WRD prefiller for forms
SAML integration
- OBJECTTYPE SAMLIDPConfigBase
Base type for SAML IDP configuration
- OBJECTTYPE SAMLSPConfigBase
Base type for SAML SP configuration