zitadel/internal/repository/user
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
..
aggregate.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
auth_request_info.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
eventstore.go feat: support client_credentials for service users (#5134) 2023-01-31 19:52:47 +00:00
human_address.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_avatar.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_email.go feat: user v2alpha email API (#5708) 2023-04-25 09:02:29 +02:00
human_external_idp.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_mfa_events.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_mfa_otp.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_mfa_passwordless.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_mfa_u2f.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_mfa_web_auth_n.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_password.go feat: add notification policy and password change message (#5065) 2023-01-25 09:49:41 +01:00
human_phone.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
human_profile.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human_refresh_token.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
human.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
machine_key.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
machine_secret.go feat: support client_credentials for service users (#5134) 2023-01-31 19:52:47 +00:00
machine.go feat(api): allow specifying access_token type (opaque/JWT) for service users (#5150) 2023-02-08 08:06:34 +00:00
metadata.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
personal_access_token.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user.go fix: handle UserLoginMustBeDomain changes correctly (#4765) 2022-12-06 09:01:31 +01:00
v1.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00