daml/triggers
Andreas Herrmann d3b4042ade
Factor out the middleware client from the trigger server (#8244)
* Factor out authorization middleware client

changelog_begin
changelog_end

* Factor out token refresh

* Factor out auth request

* Factor out auth middleware URIs

* factor out auth directive

* Factor out login directive

* Add login response type to api library

* Allow error handling in login callback

* Factor error handling out of authorize directive

* Move tagged token types into middleware api

* Factor out the auth middleware client

* Dedicated exception types in middleware client

* Handle auth middleware client exception

Restores the behavior of authorize before factoring out the client

* expose middleware URIs

* Use the middleware client in the middleware tests

* Use localhost/CALLBACK in testing

https://github.com/digital-asset/daml/pull/8244#discussion_r540328001

Co-authored-by: Andreas Herrmann <andreas.herrmann@tweag.io>
2020-12-10 17:26:06 +00:00
..
daml Hide docs of Daml.Trigger.Internal (#7992) 2020-11-18 12:26:06 +00:00
runner Handle token expiry in trigger service (#8037) 2020-12-02 16:17:45 +00:00
service Factor out the middleware client from the trigger server (#8244) 2020-12-10 17:26:06 +00:00
tests Upgrade rules-scala and scalatest (#8187) 2020-12-08 06:59:23 +01:00