diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-11-08 11:24:52 +0100 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2019-11-26 16:37:01 +0100 |
commit | 90dc9ace2a5b51cdc5752598ed25ec8908e8c282 (patch) | |
tree | bb44c72cfd5a11c6e0d7e5f95c27705d5a867dab /data | |
parent | e0cef17c0c48b9fcba9e020aae07d6f85674074b (diff) | |
download | flatpak-90dc9ace2a5b51cdc5752598ed25ec8908e8c282.tar.gz |
authenticator: Pass token-type for each ref
This allows the authenticator to handle each token type differently.
For example, this allows a "purchase" type to run the donation
webflow, but not require login (and then store the fact that this was
run locally).
Diffstat (limited to 'data')
-rw-r--r-- | data/org.freedesktop.Flatpak.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/org.freedesktop.Flatpak.xml b/data/org.freedesktop.Flatpak.xml index 50769257..6ec7f8de 100644 --- a/data/org.freedesktop.Flatpak.xml +++ b/data/org.freedesktop.Flatpak.xml @@ -176,7 +176,8 @@ <arg type='s' name='handle_token' direction='in'/> <arg type='a{sv}' name='authenticator_options' direction='in'/> <arg type='s' name='remote' direction='in'/> - <arg type='as' name='refs' direction='in'/> + <!-- This is the ref and its token-type --> + <arg type='a(si)' name='refs' direction='in'/> <arg type='o' name='handle' direction='out'/> </method> </interface> |