Documentation ¶
Index ¶
- func NewCASDriver(idpId, idpName, template, targetDomainId string, conf api.TConfigs) (driver.IIdentityBackend, error)
- type SCASDriver
- func (self *SCASDriver) Authenticate(ctx context.Context, ident mcclient.SAuthenticationIdentity) (*api.SUserExtended, error)
- func (cas *SCASDriver) GetSsoRedirectUri(ctx context.Context, callbackUrl, state string) (string, error)
- func (self *SCASDriver) Probe(ctx context.Context) error
- func (self *SCASDriver) Sync(ctx context.Context) error
- type SCASDriverClass
- func (self *SCASDriverClass) ForceSyncUser() bool
- func (self *SCASDriverClass) GetDefaultIconUri(tmpName string) string
- func (self *SCASDriverClass) IsSso() bool
- func (self *SCASDriverClass) Name() string
- func (self *SCASDriverClass) NewDriver(idpId, idpName, template, targetDomainId string, conf api.TConfigs) (driver.IIdentityBackend, error)
- func (self *SCASDriverClass) SingletonInstance() bool
- func (self *SCASDriverClass) SyncMethod() string
- func (self *SCASDriverClass) ValidateConfig(ctx context.Context, userCred mcclient.TokenCredential, template string, ...) (api.TConfigs, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCASDriver ¶
Types ¶
type SCASDriver ¶
type SCASDriver struct { driver.SBaseIdentityDriver // contains filtered or unexported fields }
apereo CAS (Central Authentication Server)
func (*SCASDriver) Authenticate ¶
func (self *SCASDriver) Authenticate(ctx context.Context, ident mcclient.SAuthenticationIdentity) (*api.SUserExtended, error)
func (*SCASDriver) GetSsoRedirectUri ¶
type SCASDriverClass ¶
type SCASDriverClass struct{}
func (*SCASDriverClass) ForceSyncUser ¶
func (self *SCASDriverClass) ForceSyncUser() bool
func (*SCASDriverClass) GetDefaultIconUri ¶
func (self *SCASDriverClass) GetDefaultIconUri(tmpName string) string
func (*SCASDriverClass) IsSso ¶
func (self *SCASDriverClass) IsSso() bool
func (*SCASDriverClass) Name ¶
func (self *SCASDriverClass) Name() string
func (*SCASDriverClass) NewDriver ¶
func (self *SCASDriverClass) NewDriver(idpId, idpName, template, targetDomainId string, conf api.TConfigs) (driver.IIdentityBackend, error)
func (*SCASDriverClass) SingletonInstance ¶
func (self *SCASDriverClass) SingletonInstance() bool
func (*SCASDriverClass) SyncMethod ¶
func (self *SCASDriverClass) SyncMethod() string
func (*SCASDriverClass) ValidateConfig ¶
Click to show internal directories.
Click to hide internal directories.