Auth: Use claims.AuthInfo in requester (#91739)

This commit is contained in:
Ryan McKinley
2024-08-09 19:46:56 +03:00
committed by GitHub
parent d52626be3f
commit 243c0935fc
19 changed files with 207 additions and 207 deletions
+2
View File
@@ -5,11 +5,13 @@ import (
"strconv"
authnlib "github.com/grafana/authlib/authn"
"github.com/grafana/authlib/claims"
"k8s.io/apiserver/pkg/authentication/user"
)
type Requester interface {
user.Info
claims.AuthInfo
// GetIdentityType returns the type for the requester
GetIdentityType() IdentityType