srv

package
v0.0.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructOktaProfile

func ConstructOktaProfile(in *api.User) *okta.UserProfile

func CreateQueryWithStatus

func CreateQueryWithStatus(profile *okta.UserProfile) *query.Params

func CreateTestApiUser

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

func CreateTestOktaProfile

func CreateTestOktaProfile(firstName, lastName, email, status, mobilePhone string) *okta.UserProfile

func CreateTestOktaUser

func CreateTestOktaUser(id, status, firstName, lastName, email, mobilePhone string) *okta.User

func CreateTestOktaUserWithCustomAttribute added in v0.0.5

func CreateTestOktaUserWithCustomAttribute(key string, value interface{}) *okta.User

func Transform

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

Transform Okta user definition into Aserto Edge User object definition.

func TransformToOktaUserReq

func TransformToOktaUserReq(in *api.User) *okta.CreateUserRequest

Types

type OktaPager

type OktaPager func(context.Context, *okta.Response, *[]*okta.User) (*okta.Response, error)

func NormalPager

func NormalPager() OktaPager

type OktaPlugin

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

func NewOktaPlugin

func NewOktaPlugin() *OktaPlugin

func NewTestOktaPlugin

func NewTestOktaPlugin(ctrl *gomock.Controller, pager OktaPager) *OktaPlugin

func (*OktaPlugin) Close

func (o *OktaPlugin) Close() error

func (*OktaPlugin) Delete

func (o *OktaPlugin) Delete(id string) error

func (*OktaPlugin) GetConfig

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

func (*OktaPlugin) Open

func (*OktaPlugin) Read

func (o *OktaPlugin) Read() ([]*api.User, error)

func (*OktaPlugin) Write

func (o *OktaPlugin) Write(user *api.User) error

Jump to

Keyboard shortcuts

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