Documentation ¶
Index ¶
- type Service
- func (svc *Service) AddAddress(ctx context.Context, req *connect.Request[idmv1.AddAddressRequest]) (*connect.Response[idmv1.AddAddressResponse], error)
- func (svc *Service) AddEmailAddress(ctx context.Context, req *connect.Request[idmv1.AddEmailAddressRequest]) (*connect.Response[idmv1.AddEmailAddressResponse], error)
- func (svc *Service) AddPhoneNumber(ctx context.Context, req *connect.Request[idmv1.AddPhoneNumberRequest]) (*connect.Response[idmv1.AddPhoneNumberResponse], error)
- func (svc *Service) ChangePassword(ctx context.Context, req *connect.Request[idmv1.ChangePasswordRequest]) (*connect.Response[idmv1.ChangePasswordResponse], error)
- func (svc *Service) DeleteAddress(ctx context.Context, req *connect.Request[idmv1.DeleteAddressRequest]) (*connect.Response[idmv1.DeleteAddressResponse], error)
- func (svc *Service) DeleteEmailAddress(ctx context.Context, req *connect.Request[idmv1.DeleteEmailAddressRequest]) (*connect.Response[idmv1.DeleteEmailAddressResponse], error)
- func (svc *Service) DeletePhoneNumber(ctx context.Context, req *connect.Request[idmv1.DeletePhoneNumberRequest]) (*connect.Response[idmv1.DeletePhoneNumberResponse], error)
- func (svc *Service) Enroll2FA(ctx context.Context, req *connect.Request[idmv1.Enroll2FARequest]) (*connect.Response[idmv1.Enroll2FAResponse], error)
- func (svc *Service) GenerateRecoveryCodes(ctx context.Context, req *connect.Request[idmv1.GenerateRecoveryCodesRequest]) (*connect.Response[idmv1.GenerateRecoveryCodesResponse], error)
- func (svc *Service) GetRegisteredPasskeys(ctx context.Context, req *connect.Request[idmv1.GetRegisteredPasskeysRequest]) (*connect.Response[idmv1.GetRegisteredPasskeysResponse], error)
- func (svc *Service) MarkEmailAsPrimary(ctx context.Context, req *connect.Request[idmv1.MarkEmailAsPrimaryRequest]) (*connect.Response[idmv1.MarkEmailAsPrimaryResponse], error)
- func (svc *Service) MarkPhoneNumberAsPrimary(ctx context.Context, ...) (*connect.Response[idmv1.MarkPhoneNumberAsPrimaryResponse], error)
- func (svc *Service) Remove2FA(ctx context.Context, req *connect.Request[idmv1.Remove2FARequest]) (*connect.Response[idmv1.Remove2FAResponse], error)
- func (svc *Service) RemovePasskey(ctx context.Context, req *connect.Request[idmv1.RemovePasskeyRequest]) (*connect.Response[idmv1.RemovePasskeyResponse], error)
- func (svc *Service) UpdateAddress(ctx context.Context, req *connect.Request[idmv1.UpdateAddressRequest]) (*connect.Response[idmv1.UpdateAddressResponse], error)
- func (svc *Service) UpdateProfile(ctx context.Context, req *connect.Request[idmv1.UpdateProfileRequest]) (*connect.Response[idmv1.UpdateProfileResponse], error)
- func (svc *Service) ValidateEmail(ctx context.Context, req *connect.Request[idmv1.ValidateEmailRequest]) (*connect.Response[idmv1.ValidateEmailResponse], error)
- func (svc *Service) ValidatePhoneNumber(ctx context.Context, req *connect.Request[idmv1.ValidatePhoneNumberRequest]) (*connect.Response[idmv1.ValidatePhoneNumberResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { idmv1connect.UnimplementedSelfServiceServiceHandler *app.Providers }
func NewService ¶
func (*Service) AddAddress ¶
func (svc *Service) AddAddress(ctx context.Context, req *connect.Request[idmv1.AddAddressRequest]) (*connect.Response[idmv1.AddAddressResponse], error)
func (*Service) AddEmailAddress ¶
func (svc *Service) AddEmailAddress(ctx context.Context, req *connect.Request[idmv1.AddEmailAddressRequest]) (*connect.Response[idmv1.AddEmailAddressResponse], error)
func (*Service) AddPhoneNumber ¶
func (svc *Service) AddPhoneNumber(ctx context.Context, req *connect.Request[idmv1.AddPhoneNumberRequest]) (*connect.Response[idmv1.AddPhoneNumberResponse], error)
func (*Service) ChangePassword ¶
func (svc *Service) ChangePassword(ctx context.Context, req *connect.Request[idmv1.ChangePasswordRequest]) (*connect.Response[idmv1.ChangePasswordResponse], error)
func (*Service) DeleteAddress ¶
func (svc *Service) DeleteAddress(ctx context.Context, req *connect.Request[idmv1.DeleteAddressRequest]) (*connect.Response[idmv1.DeleteAddressResponse], error)
func (*Service) DeleteEmailAddress ¶
func (svc *Service) DeleteEmailAddress(ctx context.Context, req *connect.Request[idmv1.DeleteEmailAddressRequest]) (*connect.Response[idmv1.DeleteEmailAddressResponse], error)
func (*Service) DeletePhoneNumber ¶
func (svc *Service) DeletePhoneNumber(ctx context.Context, req *connect.Request[idmv1.DeletePhoneNumberRequest]) (*connect.Response[idmv1.DeletePhoneNumberResponse], error)
func (*Service) Enroll2FA ¶
func (svc *Service) Enroll2FA(ctx context.Context, req *connect.Request[idmv1.Enroll2FARequest]) (*connect.Response[idmv1.Enroll2FAResponse], error)
func (*Service) GenerateRecoveryCodes ¶
func (svc *Service) GenerateRecoveryCodes(ctx context.Context, req *connect.Request[idmv1.GenerateRecoveryCodesRequest]) (*connect.Response[idmv1.GenerateRecoveryCodesResponse], error)
func (*Service) GetRegisteredPasskeys ¶
func (svc *Service) GetRegisteredPasskeys(ctx context.Context, req *connect.Request[idmv1.GetRegisteredPasskeysRequest]) (*connect.Response[idmv1.GetRegisteredPasskeysResponse], error)
func (*Service) MarkEmailAsPrimary ¶
func (svc *Service) MarkEmailAsPrimary(ctx context.Context, req *connect.Request[idmv1.MarkEmailAsPrimaryRequest]) (*connect.Response[idmv1.MarkEmailAsPrimaryResponse], error)
func (*Service) MarkPhoneNumberAsPrimary ¶
func (svc *Service) MarkPhoneNumberAsPrimary(ctx context.Context, req *connect.Request[idmv1.MarkPhoneNumberAsPrimaryRequest]) (*connect.Response[idmv1.MarkPhoneNumberAsPrimaryResponse], error)
func (*Service) Remove2FA ¶
func (svc *Service) Remove2FA(ctx context.Context, req *connect.Request[idmv1.Remove2FARequest]) (*connect.Response[idmv1.Remove2FAResponse], error)
func (*Service) RemovePasskey ¶
func (svc *Service) RemovePasskey(ctx context.Context, req *connect.Request[idmv1.RemovePasskeyRequest]) (*connect.Response[idmv1.RemovePasskeyResponse], error)
func (*Service) UpdateAddress ¶
func (svc *Service) UpdateAddress(ctx context.Context, req *connect.Request[idmv1.UpdateAddressRequest]) (*connect.Response[idmv1.UpdateAddressResponse], error)
func (*Service) UpdateProfile ¶
func (svc *Service) UpdateProfile(ctx context.Context, req *connect.Request[idmv1.UpdateProfileRequest]) (*connect.Response[idmv1.UpdateProfileResponse], error)
func (*Service) ValidateEmail ¶
func (svc *Service) ValidateEmail(ctx context.Context, req *connect.Request[idmv1.ValidateEmailRequest]) (*connect.Response[idmv1.ValidateEmailResponse], error)
func (*Service) ValidatePhoneNumber ¶
func (svc *Service) ValidatePhoneNumber(ctx context.Context, req *connect.Request[idmv1.ValidatePhoneNumberRequest]) (*connect.Response[idmv1.ValidatePhoneNumberResponse], error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.