Refactor authenticator

Signed-off-by: hongming <hongming@kubesphere.io>
This commit is contained in:
hongming
2021-08-17 11:34:51 +08:00
parent 83df7d1ffd
commit 4b5b1c64bc
41 changed files with 1923 additions and 758 deletions

View File

@@ -35,13 +35,13 @@ var (
// Identity represents the account mapped to kubesphere
type Identity interface {
// required
// GetUserID required
// Identifier for the End-User at the Issuer.
GetUserID() string
// optional
// GetUsername optional
// The username which the End-User wishes to be referred to kubesphere.
GetUsername() string
// optional
// GetEmail optional
GetEmail() string
}