srv

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestApiUser

func CreateTestApiUser(id, displayName, email, picture string) *api.User

func CreateTestAuth0User

func CreateTestAuth0User(id, displayName, email, picture, phoneNo, userName string) *management.User

func Transform

func Transform(in *management.User) *api.User

Transform Auth0 user definition into Aserto Edge User object definition.

func TransformToAuth0

func TransformToAuth0(in *api.User) *management.User

Types

type Auth0Plugin

type Auth0Plugin struct {
	Config *config.Auth0Config
	// contains filtered or unexported fields
}

func NewAuth0Plugin

func NewAuth0Plugin() *Auth0Plugin

func (*Auth0Plugin) Close

func (s *Auth0Plugin) Close() error

func (*Auth0Plugin) Delete

func (s *Auth0Plugin) Delete(userId string) error

func (*Auth0Plugin) GetConfig

func (s *Auth0Plugin) GetConfig() plugin.PluginConfig

func (*Auth0Plugin) Open

func (s *Auth0Plugin) Open(cfg plugin.PluginConfig, operation plugin.OperationType) error

func (*Auth0Plugin) Read

func (s *Auth0Plugin) Read() ([]*api.User, error)

func (*Auth0Plugin) Write

func (s *Auth0Plugin) Write(user *api.User) error

Jump to

Keyboard shortcuts

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