providers

package
v2.1.0-rc3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateUser

func AuthenticateUser(input interface{}, providerName string) (v3.Principal, []v3.Principal, string, error)

func Configure

func Configure(ctx context.Context, mgmt *config.ScaledContext)

func GetPrincipal

func GetPrincipal(principalID string, myToken v3.Token) (v3.Principal, error)

func GetProvider

func GetProvider(providerName string) (common.AuthProvider, error)

func GetProviderByType

func GetProviderByType(configType string) common.AuthProvider

func SearchPrincipals

func SearchPrincipals(name, principalType string, myToken v3.Token) ([]v3.Principal, error)

func SetupAuthConfig

func SetupAuthConfig(ctx context.Context, management *config.ScaledContext, schemas *types.Schemas)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳