mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-02 17:38:27 +02:00
remove unused method parameters
This commit is contained in:
parent
a2cbaa48f5
commit
72e69b1fe7
2 changed files with 1 additions and 4 deletions
|
@ -451,7 +451,7 @@ Or contact your administrator.
|
|||
}
|
||||
|
||||
// save the session and access token to the databroker
|
||||
profile, err := a.buildIdentityProfile(ctx, r, &newState, claims, accessToken)
|
||||
profile, err := a.buildIdentityProfile(r, claims, accessToken)
|
||||
if err != nil {
|
||||
return nil, httputil.NewError(http.StatusInternalServerError, err)
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@ import (
|
|||
|
||||
"github.com/pomerium/pomerium/internal/httputil"
|
||||
"github.com/pomerium/pomerium/internal/identity"
|
||||
"github.com/pomerium/pomerium/internal/sessions"
|
||||
"github.com/pomerium/pomerium/internal/urlutil"
|
||||
"github.com/pomerium/pomerium/pkg/cryptutil"
|
||||
identitypb "github.com/pomerium/pomerium/pkg/grpc/identity"
|
||||
|
@ -23,9 +22,7 @@ import (
|
|||
var cookieChunker = httputil.NewCookieChunker()
|
||||
|
||||
func (a *Authenticate) buildIdentityProfile(
|
||||
ctx context.Context,
|
||||
r *http.Request,
|
||||
_ *sessions.State,
|
||||
claims identity.SessionClaims,
|
||||
oauthToken *oauth2.Token,
|
||||
) (*identitypb.Profile, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue