[go: up one dir, main page]

Module ios

Module ios 

Source
Available on iOS only.
Expand description

§iOS Keychain credential store

All credentials on iOS are stored in secure stores called keychains. On iOS there is only one of these, and it has no name. The target attribute of an Entry, for consistency with macOS, determines which keychain an entry’s credential is created in searched for. On iOS, then, entries must have no target or use the specially named target default.

For a given service/user pair, this module creates/searches for a credential in the target keychain whose account attribute holds the user and whose name attribute holds the service. Because of a quirk in the iOS keychain services API, neither the account nor the name may be the empty string. (Empty strings are treated as wildcards when looking up credentials by attribute value.)

Credentials on iOS can have a large number of key/value attributes, but this module controls the account and name attributes and ignores all the others. so clients can’t use it to access or update any attributes.

Structs§

IosCredential
The representation of a generic Keychain credential.
IosCredentialBuilder
The builder for iOS keychain credentials

Functions§

default_credential_builder
Returns an instance of the iOS credential builder.