Click or drag to resize

ApplicationExtensionBaseBeginTwoFactorAuth Method

Called to start the 2-factor authentication process. The normal result here would be to send a text or email with the code and set the ValidationPage and Profiles properties on the e parameter. If the ValidationPage value is set then, following this event, a redirect to the page will be performed. The 2-factor authentication code to send will already have been stored and is provided in the AuthCode. You can set AuthCode and/or AuthCodeExpires during this event if you want different values and those new values will be stored.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public virtual void BeginTwoFactorAuth(
	IAppContext sender,
	TwoFactorAuthenticationArgs e
)

Parameters

sender
Type: NetQuarryIAppContext
The application context object.
e
Type: NetQuarryTwoFactorAuthenticationArgs
Event arguments.
See Also