def delete(self):
keyring.delete_password(self.host_name, self.username)
# Point the name 'Credential' at the keyring class if a system keyring is available, or the DB class if not
# The DB interface has extra methods since it's an ActiveRecord, but they shouldn't be used since the keyring interface might be active
评论列表
文章目录