Contents

remove(_:for:)

Removes the specified credential from the credential storage for the specified protection space.

Declaration

func remove(_ credential: URLCredential, for space: URLProtectionSpace)

Parameters

  • credential:

    The credential to remove.

  • space:

    The protection space from which to remove the credential.

Discussion

If you override this method, also override remove(_:for:options:task:).

See Also

Adding and removing credentials