Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Accepts a validated IHttpUser pointer through the SetUser method. Once a non-NULL IHttpUser pointer is set, the user is authenticated and request processing can continue.
Syntax
class IAuthenticationProvider : public IHttpEventProvider
Methods
The following table lists the methods exposed by the IAuthenticationProvider interface.
| Name | Description |
|---|---|
| SetErrorStatus | (Inherited from IHttpEventProvider.) |
| SetUser | Sets the authenticated user on the authentication provider. |
Derived Classes
This class contains no derived classes.
Remarks
CHttpModule derived classes that register for RQ_AUTHENTICATE_REQUEST events receive an IAuthenticationProvider pointer as a parameter on the CHttpModule::OnAuthenticateRequest virtual method.
Inheritance Hierarchy
IAuthenticationProvider
Requirements
| Type | Description |
|---|---|
| Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
| Header | Httpserv.h |