Closed zenangst closed 8 years ago
With this PR, Stash can get, insert, update and delete password from the keychain.
Insert and update both use the same method which looks like this;
Stash.setPassword(password, service: service, account: account)
Deleting a password for a service & account looks like this;
Stash.delete(service, account: account)
And finally, when you want to get the password you use;
Stash.password(service, account: account)
Pretty straight forward, could probably be improve in terms of the public API but this is a start.
@RamonGilabert @vadymmarkov I think this should be good for now.
@zenangst :star:
With this PR, Stash can get, insert, update and delete password from the keychain.
Insert and update both use the same method which looks like this;
Deleting a password for a service & account looks like this;
And finally, when you want to get the password you use;
Pretty straight forward, could probably be improve in terms of the public API but this is a start.