Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + func InsertPruningJob(ctx context.Context) error + func NewDAO(o dao.DAO) dao.DAO + func ToStorageConnector(c Connector) (storage.Connector, error) + type BoltStore struct + func NewBoltStore(tokenBucket string, filename string) (*BoltStore, error) + func (b *BoltStore) Close() error + func (b *BoltStore) DeleteToken(t string) error + func (b *BoltStore) GetInfo(value string) (string, error) + func (b *BoltStore) ListTokens(offset int, count int) (chan *auth.Token, error) + func (b *BoltStore) PutToken(t *auth.Token) error + type Config struct + EnablePasswordDB bool + Expiry Expiry + Frontend server.WebConfig + GRPC GRPC + Issuer string + Logger Logger + OAuth2 OAuth2 + StaticClients []storage.Client + StaticConnectors []Connector + StaticPasswords []password + Storage Storage + Web Web + type Connector struct + Config server.ConnectorConfig + ID string + Name string + Type string + func (c *Connector) UnmarshalJSON(b []byte) error + type DAO interface + DeleteToken func(t string) error + GetInfo func(value string) (string, error) + ListTokens func(offset int, count int) (chan *auth.Token, error) + PutToken func(t *auth.Token) error + type DexDAO interface + DexDeleteOfflineSessions func(c Config, userUuid string, sessionUuid string) error + DexPruneOfflineSessions func(c Config) (pruned int64, e error) + type Expiry struct + IDTokens string + SigningKeys string + type GRPC struct + Addr string + TLSCert string + TLSClientCA string + TLSKey string + type Logger struct + Format string + Level string + type OAuth2 struct + ResponseTypes []string + SkipApprovalScreen bool + type PruneTokensAction struct + func (c *PruneTokensAction) GetName() string + func (c *PruneTokensAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error + func (c *PruneTokensAction) Run(ctx context.Context, channels *actions.RunnableChannels, ...) (jobs.ActionMessage, error) + type Storage struct + Config StorageConfig + Type string + func (s *Storage) UnmarshalJSON(b []byte) error + type StorageConfig interface + Open func(logrus.FieldLogger) (storage.Storage, error) + type Web struct + AllowedOrigins []string + HTTP string + HTTPS string + TLSCert string + TLSKey string Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020