Documentation ¶
Index ¶
- func AuthenticateUser(input interface{}, providerName string) (v3.Principal, []v3.Principal, map[string]string, int, error)
- func Configure(ctx context.Context, mgmt *config.ManagementContext)
- func SearchPrincipals(name string, myToken v3.Token) ([]v3.Principal, int, error)
- func SetupAuthConfig(ctx context.Context, management *config.ManagementContext, ...)
- type PrincipalProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateUser ¶
func SearchPrincipals ¶
func SetupAuthConfig ¶
Types ¶
type PrincipalProvider ¶
type PrincipalProvider interface { GetName() string AuthenticateUser(input interface{}) (v3.Principal, []v3.Principal, map[string]string, int, error) SearchPrincipals(name string, myToken v3.Token) ([]v3.Principal, int, error) ConfigActionHandler(actionName string, action *types.Action, request *types.APIContext) error }
PrincipalProvider interfacse defines what methods an identity provider should implement
func GetProvider ¶
func GetProvider(providerName string) (PrincipalProvider, error)
Click to show internal directories.
Click to hide internal directories.