Table of Contents

TBasicAuthAuthenticateEvent Type

Event triggered to authenticate a user from the credentials sent in a Basic authentication request.

Remarks

Sender: The middleware component that triggered the event. UserName: The user name extracted from the Authorization header. Password: The password extracted from the Authorization header. User: Set this parameter to a valid IUserIdentity if the credentials are accepted, or leave it as nil to reject the request.

Syntax

Unit: Sparkle.Comp.BasicAuthMiddleware