elementary / flatpak-authenticator

Authenticate Flatpak installs from an elementary remote
https://elementary.io
GNU General Public License v3.0
4 stars 1 forks source link

DBus API #3

Closed danirabbit closed 4 years ago

danirabbit commented 4 years ago

Since secrets will be stored inside the the authenticator flatpak, we need an interface so that Wallet can get a list of payment method information. The interface will need to provide:

string type: valid values are:

string label: a user-facing label for the account. For example: "Simple Bank" or "Work Mastercard"

string brand: only valid for card type. valid values are:

int exp_month: only valid for card type. Two-digit number representing the card's expiration month.

int exp_year: only valid for card type. Two- or four-digit number representing the card's expiration year.

This is based on https://stripe.com/docs/api/cards/object

danirabbit commented 4 years ago

I guess this is contingent on whether or not we can store secrets in a way that's accessible by the wallet. If it turns out we can, then this issue no longer applies :)

danirabbit commented 4 years ago

Closing because it seems like we can access host secrets just fine