public interface IAuthenticationModule
|
Authentication modules conduct the entire authentication process with a server, responding to an authentication challenge as appropriate. This process may consist of requests to an authentication server separate from the resource server, as well as any other activities required to properly authenticate a request for a URI.
Custom authentication modules should implement the IAuthenticationModule interface and then register with the AuthenticationManager.Register method. Authentication modules are also registered at program initialization by reading the configuration file.
AuthenticationType | Read-only Gets the authentication type provided by this authentication module. |
CanPreAuthenticate | Read-only Gets a value indicating whether the authentication module supports preauthentication. |
Authenticate | Returns an instance of the Authorization class in respose to an authentication challenge from a server. |
PreAuthenticate | Returns an instance of the Authorization class for an authentication request to a server. |
string AuthenticationType {get;}
|
bool CanPreAuthenticate {get;}
|
Authorization Authenticate( |
challenge
request
credentials
Authorization PreAuthenticate( |
request
credentials