CFHTTPAuthenticationCopyMethod(_:)
Gets the strongest authentication method that will be used when a CFHTTPAuthentication object is applied to a request.
Declaration
func CFHTTPAuthenticationCopyMethod(_ auth: CFHTTPAuthentication) -> Unmanaged<CFString>Parameters
- auth:
The CFHTTPAuthentication object to examine.
Return Value
A string containing the authentication method that will be used auth is applied to a request. If more than one authentication method is available, the strongest authentication method is returned. Ownership follows the The Create Rule.
See Also
HTTP Authentication
CFHTTPAuthenticationCFHTTPAuthenticationAppliesToRequest(_:_:)CFHTTPAuthenticationCopyDomains(_:)CFHTTPAuthenticationCopyRealm(_:)CFHTTPAuthenticationCreateFromResponse(_:_:)CFHTTPAuthenticationGetTypeID()CFHTTPAuthenticationIsValid(_:_:)CFHTTPAuthenticationRequiresAccountDomain(_:)CFHTTPAuthenticationRequiresOrderedRequests(_:)CFHTTPAuthenticationRequiresUserNameAndPassword(_:)kCFHTTPAuthenticationAccountDomainkCFHTTPAuthenticationPasswordkCFHTTPAuthenticationSchemeBasickCFHTTPAuthenticationSchemeDigestkCFHTTPAuthenticationSchemeKerberos