zitadel/internal/api/grpc/server/middleware
Silvan 095ec21678
feat: user v2alpha email API (#5708)
* chore(proto): update versions

* change protoc plugin

* some cleanups

* define api for setting emails in new api

* implement user.SetEmail

* move SetEmail buisiness logic into command

* resuse newCryptoCode

* command: add ChangeEmail unit tests

Not complete, was not able to mock the generator.

* Revert "resuse newCryptoCode"

This reverts commit c89e90ae35.

* undo change to crypto code generators

* command: use a generator so we can test properly

* command: reorganise ChangeEmail

improve test coverage

* implement VerifyEmail

including unit tests

* add URL template tests

* proto: change context to object

* remove old auth option

* remove old auth option

* fix linting errors

run gci on modified files

* add permission checks and fix some errors

* comments

* comments

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2023-04-25 09:02:29 +02:00
..
access_interceptor.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
auth_interceptor_test.go feat: user v2alpha email API (#5708) 2023-04-25 09:02:29 +02:00
auth_interceptor.go feat: system api requires authenticated requests (#3570) 2022-05-30 13:38:30 +02:00
cache_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
call_interceptor.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
error_interceptor_test.go fix: translation (#647) 2020-08-28 09:44:43 +02:00
error_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_interceptor_test.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
instance_interceptor.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
metrics_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
mock_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
quota_interceptor.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
service_interceptor.go feat: add new api services (#5619) 2023-04-11 15:37:42 +02:00
tracing.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
translation_interceptor.go fix(adminAPI): localize event type (#5059) 2023-01-19 15:50:05 +00:00
translator.go fix: load auth users (#3907) 2022-07-07 14:58:00 +02:00
validation_interceptor.go chore(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0 (#2427) 2021-09-27 17:14:40 +02:00