Documentation ¶
Index ¶
- Variables
- func AuthenticateUser(ctx context.Context, input interface{}, providerName string) (v3.Principal, []v3.Principal, string, error)
- func CanAccessWithGroupProviders(providerName string, userPrincipalID string, groups []v3.Principal) (bool, error)
- func Configure(ctx context.Context, mgmt *config.ScaledContext)
- func GetPrincipal(principalID string, myToken v3.Token) (v3.Principal, error)
- func GetProvider(providerName string) (common.AuthProvider, error)
- func GetProviderByType(configType string) common.AuthProvider
- func RefetchGroupPrincipals(principalID string, providerName string, secret string) ([]v3.Principal, error)
- func SearchPrincipals(name, principalType string, myToken v3.Token) ([]v3.Principal, error)
- func SetupAuthConfig(ctx context.Context, management *config.ScaledContext, schemas *types.Schemas)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AuthenticateUser ¶
func GetProvider ¶
func GetProvider(providerName string) (common.AuthProvider, error)
func GetProviderByType ¶
func GetProviderByType(configType string) common.AuthProvider
func RefetchGroupPrincipals ¶
func SearchPrincipals ¶
func SetupAuthConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.