mirror of
https://github.com/rancher/types.git
synced 2025-09-01 13:18:20 +00:00
Add changes for auth refresh
This commit is contained in:
@@ -11,7 +11,7 @@ type Manager interface {
|
||||
GetUser(apiContext *types.APIContext) string
|
||||
EnsureToken(tokenName, description, userName string) (string, error)
|
||||
EnsureUser(principalName, displayName string) (*v3.User, error)
|
||||
CheckAccess(accessMode string, allowedPrincipalIDs []string, user v3.Principal, groups []v3.Principal) (bool, error)
|
||||
CheckAccess(accessMode string, allowedPrincipalIDs []string, userPrincipalID string, groups []v3.Principal) (bool, error)
|
||||
SetPrincipalOnCurrentUserByUserID(userID string, principal v3.Principal) (*v3.User, error)
|
||||
CreateNewUserClusterRoleBinding(userName string, userUID apitypes.UID) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user