Contents

CFHTTPAuthenticationRequiresUserNameAndPassword(_:)

Returns a Boolean value that indicates whether a CFHTTPAuthentication object uses an authentication method that requires a username and a password.

Declaration

func CFHTTPAuthenticationRequiresUserNameAndPassword(_ auth: CFHTTPAuthentication) -> Bool

Parameters

  • auth:

    The CFHTTPAuthentication object to examine.

Return Value

TRUE if auth requires a username and password when it is applied to a request; otherwise, FALSE.

See Also

HTTP Authentication