'DeclarationPublic Event VerifyUser As VerifyUserEventHandler
'UsageDim instance As EasyUAServerCore Dim handler As VerifyUserEventHandler AddHandler instance.VerifyUser, handler
public event VerifyUserEventHandler VerifyUser
public: event VerifyUserEventHandler^ VerifyUser
Event Data
The event handler receives an argument of type VerifyUserEventArgs containing data related to this event. The following VerifyUserEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Handled | (Inherited from System.ComponentModel.HandledEventArgs) |
| Result | Gets or sets the outcome of the user verification. |
| UserIdentity | Gets or sets the verified user identity. |
| UserIdentityToken | Gets or sets the user identity token to be verified. |
Remarks
This event allows custom logic to be implemented for verifying user identity tokens presented during client connections. If the event is not handled, the server will use the configured UserManagers to verify the user identity token.
Handle this event if you need to implement custom authentication logic, such as validating credentials against an external authentication service or database.
Requirements