Class

NSURLCredentialStorage

NSURLCredentialStorage implements a singleton (shared object) that manages the credential storage.

Symbols

Getting and Setting Default Credentials

- defaultCredentialForProtectionSpace:

Returns the default credential for the specified protectionSpace.

- setDefaultCredential:forProtectionSpace:

Sets the default credential for a specified protection space.

Adding and Removing Credentials

- removeCredential:forProtectionSpace:

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

- removeCredential:forProtectionSpace:options:

Removes a specified credential from the credential storage for the specified protection space using the given options.

- setCredential:forProtectionSpace:

Adds credential to the credential storage for the specified protectionSpace.

Retrieving Credentials

allCredentials

The credentials for all available protection spaces.

- credentialsForProtectionSpace:

Returns a dictionary containing the credentials for the specified protection space.

Notifications

NSURLCredentialStorageChangedNotification

This notification is posted when the set of stored credentials changes.

Relationships

Inherits From