Instance Property

allCredentials

The credentials for all available protection spaces.

Declaration

@property(readonly, copy) NSDictionary<NSURLProtectionSpace *,NSDictionary<NSString *,NSURLCredential *> *> *allCredentials;

Discussion

The dictionary has keys corresponding to the NSURLProtectionSpace instances. The values are dictionaries where the keys are user name strings, and each value is the corresponding NSURLCredential instances.

See Also

Retrieving Credentials

- credentialsForProtectionSpace:

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

- getCredentialsForProtectionSpace:task:completionHandler:

Gets a dictionary containing the credentials for the specified protection space, on behalf of the given task, and passes the dictionary to the provided completion handler.