Home > Class Reference > HSLIB namespace > HS.Util.IAuthenticate

HS.Util.IAuthenticate

abstract class HS.Util.IAuthenticate

Interface for ZAUTHENTICATE callbacks, both at the user level (via HS.Local.ZAUTHENTICATE) and in REST / other CSP APIs (via HS.Util.RESTCSPConfig)

Method Inventory

Methods

abstract classmethod OnAfterAA(ServiceName, Namespace, Username, password, tSC, ByRef tResponse) as %Status [ Language = objectscript ]
abstract classmethod OnAfterForgotPassword(ServiceName, Username, tSC, ByRef pErrText) as %Status [ Language = objectscript ]
abstract classmethod OnAfterProperties(ServiceName, Namespace, ByRef tResponse, ByRef Properties) as %Status [ Language = objectscript ]
abstract classmethod OnBeforeAA(ServiceName, ByRef Namespace, ByRef Username, ByRef password) as %Status [ Language = objectscript ]
abstract classmethod OnBeforeForgotPassword(Namespace, ServiceName, SessionId, ByRef Username, ByRef Password) as %Status [ Language = objectscript ]
abstract classmethod OnBeforeUpdatePW(LoginDomain, LoginUser, UserName, ByRef NewPassword, ByRef pLoginToken, ByRef OldPassword) as %Status [ Language = objectscript ]
abstract classmethod OnBeforeValidatePW(OldPassword, Username, LoginToken, ByRef NewPassword, ByRef LoginDomain, ByRef LoginUser) as %Status [ Language = objectscript ]
abstract classmethod OnGetCredentials(ByRef Username, ByRef Password, ServiceName, Namespace, ByRef Credentials) as %Status [ Language = objectscript ]
abstract classmethod OnSendTwoFactorToken(Username, ServiceName, Namespace, Application, ByRef Credentials, ByRef SecurityToken, ByRef TwoFactorTimeout, ByRef UserPhoneNumber) as %Status [ Language = objectscript ]
abstract classmethod OnZAUTHENTICATE(ByRef AuthenticationDelegated As %Boolean = 0, ServiceName As %String, Namespace As %String, Username As %String, Password As %String, ByRef Credentials, ByRef Properties) as %Status [ Language = objectscript ]
Callback to allow customers to intercept calls to the main ^ZAUTHENTICATE entry point, which includes the arguments to that entry point. If the main ^ZAUTHENTICATE logic for HealthShare should NOT be executed, set AuthenticationDelegated to 1, and ensure that all of the values in Properties are correctly initialized.
FeedbackOpens in a new window