Identity: remove GetIDClaims (#91901)

remove GetIDClaims
This commit is contained in:
Karl Persson
2024-08-15 11:39:13 +02:00
committed by GitHub
parent 2ac247be88
commit 5105fb7f3a
3 changed files with 0 additions and 11 deletions
-3
View File
@@ -4,7 +4,6 @@ import (
"fmt"
"strconv"
authnlib "github.com/grafana/authlib/authn"
"github.com/grafana/authlib/claims"
"k8s.io/apiserver/pkg/authentication/user"
)
@@ -76,8 +75,6 @@ type Requester interface {
// GetIDToken returns a signed token representing the identity that can be forwarded to plugins and external services.
// Will only be set when featuremgmt.FlagIdForwarding is enabled.
GetIDToken() string
// GetIDClaims returns the claims of the ID token.
GetIDClaims() *authnlib.Claims[authnlib.IDTokenClaims]
}
// IntIdentifier converts a typeID to an int64.