Skip to content

Commit

Permalink
Rename account management UIInfoResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
IniZio committed Oct 3, 2024
1 parent eb93272 commit 0d53d5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/auth/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ var DependencySet = wire.NewSet(
wire.Bind(new(api.JSONResponseWriter), new(*httputil.JSONResponseWriter)),
wire.Bind(new(authenticationflow.JSONResponseWriter), new(*httputil.JSONResponseWriter)),
wire.Bind(new(accountmanagement.RateLimitMiddlewareJSONResponseWriter), new(*httputil.JSONResponseWriter)),
wire.Bind(new(accountmanagement.SettingsDeleteAccountSuccessUIInfoResolver), new(*authenticationinfo.UIService)),
wire.Bind(new(accountmanagement.UIInfoResolver), new(*authenticationinfo.UIService)),

wire.Bind(new(handlerwebapp.PanicMiddlewareUIImplementationService), new(*web.UIImplementationService)),
wire.Bind(new(handlerwebapp.CSRFMiddlewareUIImplementationService), new(*web.UIImplementationService)),
Expand Down
4 changes: 2 additions & 2 deletions pkg/lib/accountmanagement/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type PasskeyService interface {
ConsumeAttestationResponse(attestationResponse []byte) (err error)
}

type SettingsDeleteAccountSuccessUIInfoResolver interface {
type UIInfoResolver interface {
SetAuthenticationInfoInQuery(redirectURI string, e *authenticationinfo.Entry) string
}

Expand Down Expand Up @@ -110,7 +110,7 @@ type Service struct {
AuthenticationInfoService AuthenticationInfoService
PasskeyService PasskeyService
Verification VerificationService
UIInfoResolver SettingsDeleteAccountSuccessUIInfoResolver
UIInfoResolver UIInfoResolver
}

type StartAddingInput struct {
Expand Down

0 comments on commit 0d53d5e

Please sign in to comment.