Contents

CFHTTPAuthenticationCopyRealm(_:)

Gets an authentication information’s namespace.

Declaration

func CFHTTPAuthenticationCopyRealm(_ auth: CFHTTPAuthentication) -> Unmanaged<CFString>

Parameters

  • auth:

    The CFHTTPAuthentication object to examine.

Return Value

The namespace, if there is one; otherwise NULL. Ownership follows the The Create Rule.

Discussion

Some authentication methods provide a namespace, and it is usually used to prompt the user for a name and password.

See Also

HTTP Authentication