cas

package
v0.3.10-0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCASDriver

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

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

func (cas *SCASDriver) GetSsoRedirectUri(ctx context.Context, callbackUrl, state string) (string, error)

func (*SCASDriver) Probe

func (self *SCASDriver) Probe(ctx context.Context) error

func (*SCASDriver) Sync

func (self *SCASDriver) Sync(ctx context.Context) error

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

func (self *SCASDriverClass) ValidateConfig(ctx context.Context, userCred mcclient.TokenCredential, template string, tconf 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