AndroidMessageHandler.RequestedAuthentication Property
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.
If the website requires authentication, this property will contain data about each scheme supported
by the server after the response. Note that unauthorized request will return a valid response - you
need to check the status code and and (re)configure AndroidMessageHandler instance accordingly by providing
both the credentials and the authentication scheme by setting the PreAuthenticationData
property. If AndroidMessageHandler is not able to detect the kind of authentication scheme it will store an
instance of AuthenticationData with its Scheme property
set to AuthenticationScheme.Unsupported
and the application will be responsible for providing an
instance of IAndroidAuthenticationModule which handles this kind of authorization scheme
(AuthModule
public System.Collections.Generic.IList<Xamarin.Android.Net.AuthenticationData>? RequestedAuthentication { get; }
member this.RequestedAuthentication : System.Collections.Generic.IList<Xamarin.Android.Net.AuthenticationData>