URLProtectionSpaceAuthenticationMethod class

Class that represents the constants describing known values of the URLProtectionSpace.authenticationMethod property.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() String?
Gets String native value if supported by the current platform, otherwise null.
toString() String
A string representation of this object.
override
toValue() String
Gets String value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<URLProtectionSpaceAuthenticationMethod>
Set of all values of URLProtectionSpaceAuthenticationMethod.
final

Static Methods

asNameMap() Map<String, URLProtectionSpaceAuthenticationMethod>
Creates a map from the names of URLProtectionSpaceAuthenticationMethod values to the values.
byName(String? name) URLProtectionSpaceAuthenticationMethod?
Gets a possible URLProtectionSpaceAuthenticationMethod instance value with name name.
fromNativeValue(String? value) URLProtectionSpaceAuthenticationMethod?
Gets a possible URLProtectionSpaceAuthenticationMethod instance from a native value.
fromValue(String? value) URLProtectionSpaceAuthenticationMethod?
Gets a possible URLProtectionSpaceAuthenticationMethod instance from String value.

Constants

NSURL_AUTHENTICATION_METHOD_CLIENT_CERTIFICATE → const URLProtectionSpaceAuthenticationMethod
Use client certificate authentication for this protection space.
NSURL_AUTHENTICATION_METHOD_DEFAULT → const URLProtectionSpaceAuthenticationMethod
Use the default authentication method for a protocol.
NSURL_AUTHENTICATION_METHOD_HTML_FORM → const URLProtectionSpaceAuthenticationMethod
Use HTML form authentication for this protection space.
NSURL_AUTHENTICATION_METHOD_HTTP_BASIC → const URLProtectionSpaceAuthenticationMethod
Use HTTP basic authentication for this protection space.
NSURL_AUTHENTICATION_METHOD_HTTP_DIGEST → const URLProtectionSpaceAuthenticationMethod
Use HTTP digest authentication for this protection space.
NSURL_AUTHENTICATION_METHOD_NEGOTIATE → const URLProtectionSpaceAuthenticationMethod
Negotiate whether to use Kerberos or NTLM authentication for this protection space.
NSURL_AUTHENTICATION_METHOD_NTLM → const URLProtectionSpaceAuthenticationMethod
Use NTLM authentication for this protection space.
NSURL_AUTHENTICATION_METHOD_SERVER_TRUST → const URLProtectionSpaceAuthenticationMethod
Perform server trust authentication (certificate validation) for this protection space.