oathkeeper: github.com/ory/oathkeeper/driver Index | Files | Directories

package driver

import "github.com/ory/oathkeeper/driver"

Index

Package Files

driver.go driver_default.go registry.go registry_memory.go

type DefaultDriver Uses

type DefaultDriver struct {
    // contains filtered or unexported fields
}

func (*DefaultDriver) Configuration Uses

func (r *DefaultDriver) Configuration() configuration.Provider

func (*DefaultDriver) Registry Uses

func (r *DefaultDriver) Registry() Registry

type Driver Uses

type Driver interface {
    Configuration() configuration.Provider
    Registry() Registry
}

func NewDefaultDriver Uses

func NewDefaultDriver(l logrus.FieldLogger, version, build, date string, validate bool) Driver

type Registry Uses

type Registry interface {
    Init()

    WithConfig(c configuration.Provider) Registry
    WithLogger(l logrus.FieldLogger) Registry
    WithBuildInfo(version, hash, date string) Registry
    BuildVersion() string
    BuildDate() string
    BuildHash() string

    ProxyRequestHandler() *proxy.RequestHandler
    HealthHandler() *healthx.Handler
    RuleHandler() *api.RuleHandler
    DecisionHandler() *api.DecisionHandler
    CredentialHandler() *api.CredentialsHandler

    Proxy() *proxy.Proxy

    authn.Registry
    authz.Registry
    mutate.Registry

    rule.Registry
    credentials.FetcherRegistry
    credentials.SignerRegistry
    credentials.VerifierRegistry

    x.RegistryWriter
    x.RegistryLogger
}

func NewRegistry Uses

func NewRegistry(c configuration.Provider) Registry

type RegistryMemory Uses

type RegistryMemory struct {
    sync.RWMutex
    // contains filtered or unexported fields
}

func NewRegistryMemory Uses

func NewRegistryMemory() *RegistryMemory

func (*RegistryMemory) AvailablePipelineAuthenticators Uses

func (r *RegistryMemory) AvailablePipelineAuthenticators() (available []string)

func (*RegistryMemory) AvailablePipelineAuthorizers Uses

func (r *RegistryMemory) AvailablePipelineAuthorizers() (available []string)

func (*RegistryMemory) AvailablePipelineMutators Uses

func (r *RegistryMemory) AvailablePipelineMutators() (available []string)

func (*RegistryMemory) BuildDate Uses

func (r *RegistryMemory) BuildDate() string

func (*RegistryMemory) BuildHash Uses

func (r *RegistryMemory) BuildHash() string

func (*RegistryMemory) BuildVersion Uses

func (r *RegistryMemory) BuildVersion() string

func (*RegistryMemory) CredentialHandler Uses

func (r *RegistryMemory) CredentialHandler() *api.CredentialsHandler

func (*RegistryMemory) CredentialsFetcher Uses

func (r *RegistryMemory) CredentialsFetcher() credentials.Fetcher

func (*RegistryMemory) CredentialsSigner Uses

func (r *RegistryMemory) CredentialsSigner() credentials.Signer

func (*RegistryMemory) CredentialsVerifier Uses

func (r *RegistryMemory) CredentialsVerifier() credentials.Verifier

func (*RegistryMemory) DecisionHandler Uses

func (r *RegistryMemory) DecisionHandler() *api.DecisionHandler

func (*RegistryMemory) HealthHandler Uses

func (r *RegistryMemory) HealthHandler() *healthx.Handler

func (*RegistryMemory) Init Uses

func (r *RegistryMemory) Init()

func (*RegistryMemory) Logger Uses

func (r *RegistryMemory) Logger() logrus.FieldLogger

func (*RegistryMemory) PipelineAuthenticator Uses

func (r *RegistryMemory) PipelineAuthenticator(id string) (authn.Authenticator, error)

func (*RegistryMemory) PipelineAuthorizer Uses

func (r *RegistryMemory) PipelineAuthorizer(id string) (authz.Authorizer, error)

func (*RegistryMemory) PipelineMutator Uses

func (r *RegistryMemory) PipelineMutator(id string) (mutate.Mutator, error)

func (*RegistryMemory) Proxy Uses

func (r *RegistryMemory) Proxy() *proxy.Proxy

func (*RegistryMemory) ProxyRequestHandler Uses

func (r *RegistryMemory) ProxyRequestHandler() *proxy.RequestHandler

func (*RegistryMemory) RuleFetcher Uses

func (r *RegistryMemory) RuleFetcher() rule.Fetcher

func (*RegistryMemory) RuleHandler Uses

func (r *RegistryMemory) RuleHandler() *api.RuleHandler

func (*RegistryMemory) RuleMatcher Uses

func (r *RegistryMemory) RuleMatcher() rule.Matcher

func (*RegistryMemory) RuleRepository Uses

func (r *RegistryMemory) RuleRepository() rule.Repository

func (*RegistryMemory) RuleValidator Uses

func (r *RegistryMemory) RuleValidator() rule.Validator

func (*RegistryMemory) WithBrokenPipelineMutator Uses

func (r *RegistryMemory) WithBrokenPipelineMutator() *RegistryMemory

func (*RegistryMemory) WithBuildInfo Uses

func (r *RegistryMemory) WithBuildInfo(version, hash, date string) Registry

func (*RegistryMemory) WithConfig Uses

func (r *RegistryMemory) WithConfig(c configuration.Provider) Registry

func (*RegistryMemory) WithLogger Uses

func (r *RegistryMemory) WithLogger(l logrus.FieldLogger) Registry

func (*RegistryMemory) Writer Uses

func (r *RegistryMemory) Writer() herodot.Writer

Directories

PathSynopsis
configuration

Package driver imports 18 packages (graph) and is imported by 2 packages. Updated 2019-11-13. Refresh now. Tools for package owners.