IOSNSURLProtectionSpaceAuthenticationMethod class

An iOS-specific Class that represents the constants describing known values of the URLProtectionSpace.authenticationMethod property. Use URLProtectionSpaceAuthenticationMethod instead.

Annotations
  • @Deprecated('Use URLProtectionSpaceAuthenticationMethod instead')

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<IOSNSURLProtectionSpaceAuthenticationMethod>
Set of all values of IOSNSURLProtectionSpaceAuthenticationMethod.
final

Static Methods

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

Constants

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