TAuthenticateBasicProc Anonymous method
Callback invoked to authenticate a user from the credentials sent in a Basic authentication request.
Remarks
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.Middleware.BasicAuth
TAuthenticateBasicProc = reference to procedure(const UserName: string; const Password: string; var User: IUserIdentity);