key(for:)
Returns a key from the keychain with the object identifier you specify.
Declaration
func key(for objectID: TKToken.ObjectID) throws -> TKTokenKeychainKeyParameters
- objectID:
The identifier for the key within the keychain.
Return Value
The key that the keychain stores.
Discussion
If the key the objectID specifies isn’t found, the system fills the error with TKError.Code.objectNotFound.