IAndroidAuthenticationModule Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implement this interface in order to provide support for HTTP authentication scheme not supported by AndroidMessageHandler
public interface IAndroidAuthenticationModule
type IAndroidAuthenticationModule = interface
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Properties
AuthenticationType |
Name of the authentication scheme, as sent in the WWW-Authenticate HTTP header (the very first verb in the header's value) |
CanPreAuthenticate |
Whether the implementation supports pre-authentication |
Scheme |
The authentication scheme supported by the implementation. Should be set to |
Methods
Authenticate(String, HttpURLConnection, ICredentials) |
Authenticate using the specified challenge, request and credentials. This is currently not used by AndroidMessageHandler since the requests aren't restarted automatically, but it can be used in the future implementations of AndroidMessageHandler |
PreAuthenticate(HttpURLConnection, ICredentials) |
Pre-authenticate using the specified credentials. |