sql

package
v0.0.0-...-21b9e53 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLDriver

func NewSQLDriver(idpId, idpName, template, targetDomainId string, conf api.TConfigs) (driver.IIdentityBackend, error)

Types

type SSQLDriver

type SSQLDriver struct {
	driver.SBaseIdentityDriver
}

func (*SSQLDriver) Authenticate

func (*SSQLDriver) GetSsoRedirectUri

func (sql *SSQLDriver) GetSsoRedirectUri(ctx context.Context, callbackUrl, state string) (string, error)

func (*SSQLDriver) Probe

func (sql *SSQLDriver) Probe(ctx context.Context) error

func (*SSQLDriver) Sync

func (sql *SSQLDriver) Sync(ctx context.Context) error

type SSQLDriverClass

type SSQLDriverClass struct{}

func (*SSQLDriverClass) ForceSyncUser

func (self *SSQLDriverClass) ForceSyncUser() bool

func (*SSQLDriverClass) GetDefaultIconUri

func (self *SSQLDriverClass) GetDefaultIconUri(tmpName string) string

func (*SSQLDriverClass) IsSso

func (self *SSQLDriverClass) IsSso() bool

func (*SSQLDriverClass) Name

func (self *SSQLDriverClass) Name() string

func (*SSQLDriverClass) NewDriver

func (self *SSQLDriverClass) NewDriver(idpId, idpName, template, targetDomainId string, conf api.TConfigs) (driver.IIdentityBackend, error)

func (*SSQLDriverClass) SingletonInstance

func (self *SSQLDriverClass) SingletonInstance() bool

func (*SSQLDriverClass) SyncMethod

func (self *SSQLDriverClass) SyncMethod() string

func (*SSQLDriverClass) ValidateConfig

func (self *SSQLDriverClass) ValidateConfig(ctx context.Context, userCred mcclient.TokenCredential, template string, conf api.TConfigs, idpId, domainId string) (api.TConfigs, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL