Documentation ¶
Index ¶
- func DeleteIdentityProvider(tenantID string)
- func GetAllIdentityProviderMap() map[string]IdentityProvider
- func NewDexHookHandler(ctx context.Context, authClient authinternalclient.AuthInterface, ...) genericapiserver.PostStartHookProvider
- func SetIdentityProvider(tenantID string, provider IdentityProvider)
- type DexHander
- type GroupGetter
- type GroupLister
- type IdentityProvider
- type UserGetter
- type UserLister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteIdentityProvider ¶ added in v1.2.5
func DeleteIdentityProvider(tenantID string)
func GetAllIdentityProviderMap ¶ added in v1.2.5
func GetAllIdentityProviderMap() map[string]IdentityProvider
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
func SetIdentityProvider ¶ added in v1.2.5
func SetIdentityProvider(tenantID string, provider IdentityProvider)
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.
func GetIdentityProvider ¶ added in v1.2.5
func GetIdentityProvider(tenantID string) (IdentityProvider, bool)
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.