zitadel/internal/api/grpc/auth
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
..
avatar.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
email_converter.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
email.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
idp_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
idp.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
information.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
language.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
metadata_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
multi_factor.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
password_complexity.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
password.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
passwordless.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
permission_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
permission.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
phone_converter.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
phone.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
policy.go feat(auth api): expose login policy of authenticated user (#4979) 2023-01-05 13:04:38 +00:00
profile_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
profile.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
refresh_token.go fix(current_sequence): no error if not found (#3740) 2022-05-31 11:50:51 +00:00
server.go feat: user v2alpha email API (#5708) 2023-04-25 09:02:29 +02:00
user_grant.go chore(console): remove first and lastName fallback from user (#5629) 2023-04-11 15:56:51 +00:00
user.go refactor(changes): use queries.SearchEvents (#5388) 2023-03-17 09:14:06 +00:00