diff options
author | Sebastian <sebasjm@gmail.com> | 2024-10-30 13:40:22 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-10-30 13:40:22 -0300 |
commit | cb1bc1ce59e031aefbeefa6a17446194c61af8d5 (patch) | |
tree | b3c411a339f3659ce853cf36d349896c265b75f6 /src/include | |
parent | 9075747139b57779f86c260458c06371229b1df7 (diff) |
support bearer token for bank auth
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_bank_service.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h index 5cf7d8ca9..c1d031546 100644 --- a/src/include/taler_bank_service.h +++ b/src/include/taler_bank_service.h @@ -48,6 +48,11 @@ enum TALER_BANK_AuthenticationMethod * Basic authentication with cleartext username and password. */ TALER_BANK_AUTH_BASIC, + + /** + * Bearer token authentication. + */ + TALER_BANK_AUTH_BEARER, }; @@ -90,6 +95,18 @@ struct TALER_BANK_AuthenticationData char *password; } basic; + /** + * Details for #TALER_BANK_AUTH_BEARER. + */ + struct + { + /** + * Token to use. + */ + char *token; + + } bearer; + } details; }; |