transformer

package
v1.4.27 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Matchers []string `json:"matchers,omitempty" xml:"matchers,omitempty" yaml:"matchers,omitempty"`
	Actions  []string `json:"actions,omitempty" xml:"actions,omitempty" yaml:"actions,omitempty"`
}

Config represents a common set of configuration settings applicable to the cookies issued by authn.Authenticator.

type Factory

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

Factory holds configuration and associated finctions for the cookies issued by authn.Authenticator.

func NewFactory

func NewFactory(cfgs []*Config) (*Factory, error)

NewFactory returns an instance of cookie factory.

func (*Factory) Transform

func (f *Factory) Transform(m map[string]interface{}) error

Transform performs user data transformation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL