Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IdentityProvidersStore = make(map[string]IdentityProvider)
IdentityProvidersStore represents identity providers for every tenantID.
Functions ¶
func NewDexHookHandler ¶
func NewDexHookHandler(ctx context.Context, authClient authinternalclient.AuthInterface, config *dexserver.Config, storage dexstorage.Storage, handler *DexHander, publicAddress string, internalAddress string, tokenAuthn *authenticator.TokenAuthenticator) genericapiserver.PostStartHookProvider
Types ¶
type GroupGetter ¶
type GroupGetter interface {
GetGroup(ctx context.Context, name string, options *metav1.GetOptions) (*auth.Group, error)
}
GroupGetter is an object that can get the group that match the provided field and label criteria.
type GroupLister ¶
type GroupLister interface {
ListGroups(ctx context.Context, options *metainternal.ListOptions) (*auth.GroupList, error)
}
GroupLister is an object that can list groups that match the provided field and label criteria.
type IdentityProvider ¶
type IdentityProvider interface { // Open is used to open a dex connector instance. Open(id string, logger dexlog.Logger) (connector.Connector, error) // Store generates a identity provider object into storage. Store() (*auth.IdentityProvider, error) }
IdentityProvider defines a object that generate a dex connector.
type UserGetter ¶
type UserGetter interface {
GetUser(ctx context.Context, name string, options *metav1.GetOptions) (*auth.User, error)
}
UserGetter is an object that can get the user that match the provided field and label criteria.
type UserLister ¶
type UserLister interface {
ListUsers(ctx context.Context, options *metainternal.ListOptions) (*auth.UserList, error)
}
UserLister is an object that can list users that match the provided field and label criteria.
Click to show internal directories.
Click to hide internal directories.