remove unnecessary context

This commit is contained in:
Livio Amstutz 2021-08-20 07:39:34 +02:00
parent 1132c9d93d
commit 807da0b27d
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,6 @@
package client
import (
"context"
"net/url"
"golang.org/x/oauth2"
@ -11,7 +10,7 @@ import (
)
//JWTProfileExchange handles the oauth2 jwt profile exchange
func JWTProfileExchange(ctx context.Context, jwtProfileGrantRequest *oidc.JWTProfileGrantRequest, caller tokenEndpointCaller) (*oauth2.Token, error) {
func JWTProfileExchange(jwtProfileGrantRequest *oidc.JWTProfileGrantRequest, caller tokenEndpointCaller) (*oauth2.Token, error) {
return CallTokenEndpoint(jwtProfileGrantRequest, caller)
}