Documentation ¶
Index ¶
- func NewSQLDriver(idpId, idpName, template, targetDomainId string, conf api.TConfigs) (driver.IIdentityBackend, error)
- type SSQLDriver
- func (sql *SSQLDriver) Authenticate(ctx context.Context, ident mcclient.SAuthenticationIdentity) (*api.SUserExtended, error)
- func (sql *SSQLDriver) GetSsoRedirectUri(ctx context.Context, callbackUrl, state string) (string, error)
- func (sql *SSQLDriver) Probe(ctx context.Context) error
- func (sql *SSQLDriver) Sync(ctx context.Context) error
- type SSQLDriverClass
- func (self *SSQLDriverClass) ForceSyncUser() bool
- func (self *SSQLDriverClass) GetDefaultIconUri(tmpName string) string
- func (self *SSQLDriverClass) IsSso() bool
- func (self *SSQLDriverClass) Name() string
- func (self *SSQLDriverClass) NewDriver(idpId, idpName, template, targetDomainId string, conf api.TConfigs) (driver.IIdentityBackend, error)
- func (self *SSQLDriverClass) SingletonInstance() bool
- func (self *SSQLDriverClass) SyncMethod() string
- func (self *SSQLDriverClass) ValidateConfig(ctx context.Context, userCred mcclient.TokenCredential, template string, ...) (api.TConfigs, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSQLDriver ¶
Types ¶
type SSQLDriver ¶
type SSQLDriver struct {
driver.SBaseIdentityDriver
}
func (*SSQLDriver) Authenticate ¶
func (sql *SSQLDriver) Authenticate(ctx context.Context, ident mcclient.SAuthenticationIdentity) (*api.SUserExtended, error)
func (*SSQLDriver) GetSsoRedirectUri ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.