idpAdapters

package
v0.0.0-...-367d749 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ServiceName - The name of service.
	ServiceName = "IdpAdapters"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateIdpAdapterInput

type CreateIdpAdapterInput struct {
	Body models.IdpAdapter

	BypassExternalValidation *bool
}

type DeleteIdpAdapterInput

type DeleteIdpAdapterInput struct {
	Id string
}

type GetActionInput

type GetActionInput struct {
	Id       string
	ActionId string
}

type GetActionsInput

type GetActionsInput struct {
	Id string
}

type GetIdpAdapterDescriptorsByIdInput

type GetIdpAdapterDescriptorsByIdInput struct {
	Id string
}

type GetIdpAdapterInput

type GetIdpAdapterInput struct {
	Id string
}

type GetIdpAdaptersInput

type GetIdpAdaptersInput struct {
	Page          string
	NumberPerPage string
	Filter        string
}

type IdpAdaptersAPI

type IdpAdaptersAPI interface {
	GetIdpAdapterDescriptors() (output *models.IdpAdapterDescriptors, resp *http.Response, err error)
	GetIdpAdapterDescriptorsWithContext(ctx context.Context) (output *models.IdpAdapterDescriptors, resp *http.Response, err error)

	GetIdpAdapterDescriptorsById(input *GetIdpAdapterDescriptorsByIdInput) (output *models.IdpAdapterDescriptor, resp *http.Response, err error)
	GetIdpAdapterDescriptorsByIdWithContext(ctx context.Context, input *GetIdpAdapterDescriptorsByIdInput) (output *models.IdpAdapterDescriptor, resp *http.Response, err error)

	GetIdpAdapters(input *GetIdpAdaptersInput) (output *models.IdpAdapters, resp *http.Response, err error)
	GetIdpAdaptersWithContext(ctx context.Context, input *GetIdpAdaptersInput) (output *models.IdpAdapters, resp *http.Response, err error)

	CreateIdpAdapter(input *CreateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)
	CreateIdpAdapterWithContext(ctx context.Context, input *CreateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

	GetIdpAdapter(input *GetIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)
	GetIdpAdapterWithContext(ctx context.Context, input *GetIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

	UpdateIdpAdapter(input *UpdateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)
	UpdateIdpAdapterWithContext(ctx context.Context, input *UpdateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

	DeleteIdpAdapter(input *DeleteIdpAdapterInput) (output *models.ApiResult, resp *http.Response, err error)
	DeleteIdpAdapterWithContext(ctx context.Context, input *DeleteIdpAdapterInput) (output *models.ApiResult, resp *http.Response, err error)

	GetActions(input *GetActionsInput) (output *models.Actions, resp *http.Response, err error)
	GetActionsWithContext(ctx context.Context, input *GetActionsInput) (output *models.Actions, resp *http.Response, err error)

	GetAction(input *GetActionInput) (output *models.Action, resp *http.Response, err error)
	GetActionWithContext(ctx context.Context, input *GetActionInput) (output *models.Action, resp *http.Response, err error)

	InvokeAction(input *InvokeActionInput) (output *models.ActionResult, resp *http.Response, err error)
	InvokeActionWithContext(ctx context.Context, input *InvokeActionInput) (output *models.ActionResult, resp *http.Response, err error)
}

type IdpAdaptersService

type IdpAdaptersService struct {
	*client.PfClient
}

func New

func New(cfg *config.Config) *IdpAdaptersService

New creates a new instance of the IdpAdaptersService client.

func (*IdpAdaptersService) CreateIdpAdapter

func (s *IdpAdaptersService) CreateIdpAdapter(input *CreateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

CreateIdpAdapter - Create a new IdP adapter instance. RequestType: POST Input: input *CreateIdpAdapterInput

func (*IdpAdaptersService) CreateIdpAdapterWithContext

func (s *IdpAdaptersService) CreateIdpAdapterWithContext(ctx context.Context, input *CreateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

CreateIdpAdapterWithContext - Create a new IdP adapter instance. RequestType: POST Input: ctx context.Context, input *CreateIdpAdapterInput

func (*IdpAdaptersService) DeleteIdpAdapter

func (s *IdpAdaptersService) DeleteIdpAdapter(input *DeleteIdpAdapterInput) (output *models.ApiResult, resp *http.Response, err error)

DeleteIdpAdapter - Delete an IdP adapter instance. RequestType: DELETE Input: input *DeleteIdpAdapterInput

func (*IdpAdaptersService) DeleteIdpAdapterWithContext

func (s *IdpAdaptersService) DeleteIdpAdapterWithContext(ctx context.Context, input *DeleteIdpAdapterInput) (output *models.ApiResult, resp *http.Response, err error)

DeleteIdpAdapterWithContext - Delete an IdP adapter instance. RequestType: DELETE Input: ctx context.Context, input *DeleteIdpAdapterInput

func (*IdpAdaptersService) GetAction

func (s *IdpAdaptersService) GetAction(input *GetActionInput) (output *models.Action, resp *http.Response, err error)

GetAction - Find an IdP adapter instance's action by ID. RequestType: GET Input: input *GetActionInput

func (*IdpAdaptersService) GetActionWithContext

func (s *IdpAdaptersService) GetActionWithContext(ctx context.Context, input *GetActionInput) (output *models.Action, resp *http.Response, err error)

GetActionWithContext - Find an IdP adapter instance's action by ID. RequestType: GET Input: ctx context.Context, input *GetActionInput

func (*IdpAdaptersService) GetActions

func (s *IdpAdaptersService) GetActions(input *GetActionsInput) (output *models.Actions, resp *http.Response, err error)

GetActions - List the actions for an IdP adapter instance. RequestType: GET Input: input *GetActionsInput

func (*IdpAdaptersService) GetActionsWithContext

func (s *IdpAdaptersService) GetActionsWithContext(ctx context.Context, input *GetActionsInput) (output *models.Actions, resp *http.Response, err error)

GetActionsWithContext - List the actions for an IdP adapter instance. RequestType: GET Input: ctx context.Context, input *GetActionsInput

func (*IdpAdaptersService) GetIdpAdapter

func (s *IdpAdaptersService) GetIdpAdapter(input *GetIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

GetIdpAdapter - Find an IdP adapter instance by ID. RequestType: GET Input: input *GetIdpAdapterInput

func (*IdpAdaptersService) GetIdpAdapterDescriptors

func (s *IdpAdaptersService) GetIdpAdapterDescriptors() (output *models.IdpAdapterDescriptors, resp *http.Response, err error)

GetIdpAdapterDescriptors - Get the list of available IdP adapter descriptors. RequestType: GET Input:

func (*IdpAdaptersService) GetIdpAdapterDescriptorsById

func (s *IdpAdaptersService) GetIdpAdapterDescriptorsById(input *GetIdpAdapterDescriptorsByIdInput) (output *models.IdpAdapterDescriptor, resp *http.Response, err error)

GetIdpAdapterDescriptorsById - Get the description of an IdP adapter plugin by ID. RequestType: GET Input: input *GetIdpAdapterDescriptorsByIdInput

func (*IdpAdaptersService) GetIdpAdapterDescriptorsByIdWithContext

func (s *IdpAdaptersService) GetIdpAdapterDescriptorsByIdWithContext(ctx context.Context, input *GetIdpAdapterDescriptorsByIdInput) (output *models.IdpAdapterDescriptor, resp *http.Response, err error)

GetIdpAdapterDescriptorsByIdWithContext - Get the description of an IdP adapter plugin by ID. RequestType: GET Input: ctx context.Context, input *GetIdpAdapterDescriptorsByIdInput

func (*IdpAdaptersService) GetIdpAdapterDescriptorsWithContext

func (s *IdpAdaptersService) GetIdpAdapterDescriptorsWithContext(ctx context.Context) (output *models.IdpAdapterDescriptors, resp *http.Response, err error)

GetIdpAdapterDescriptorsWithContext - Get the list of available IdP adapter descriptors. RequestType: GET Input: ctx context.Context,

func (*IdpAdaptersService) GetIdpAdapterWithContext

func (s *IdpAdaptersService) GetIdpAdapterWithContext(ctx context.Context, input *GetIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

GetIdpAdapterWithContext - Find an IdP adapter instance by ID. RequestType: GET Input: ctx context.Context, input *GetIdpAdapterInput

func (*IdpAdaptersService) GetIdpAdapters

func (s *IdpAdaptersService) GetIdpAdapters(input *GetIdpAdaptersInput) (output *models.IdpAdapters, resp *http.Response, err error)

GetIdpAdapters - Get the list of configured IdP adapter instances. RequestType: GET Input: input *GetIdpAdaptersInput

func (*IdpAdaptersService) GetIdpAdaptersWithContext

func (s *IdpAdaptersService) GetIdpAdaptersWithContext(ctx context.Context, input *GetIdpAdaptersInput) (output *models.IdpAdapters, resp *http.Response, err error)

GetIdpAdaptersWithContext - Get the list of configured IdP adapter instances. RequestType: GET Input: ctx context.Context, input *GetIdpAdaptersInput

func (*IdpAdaptersService) InvokeAction

func (s *IdpAdaptersService) InvokeAction(input *InvokeActionInput) (output *models.ActionResult, resp *http.Response, err error)

InvokeAction - Invokes an action for an IdP adapter instance. RequestType: POST Input: input *InvokeActionInput

func (*IdpAdaptersService) InvokeActionWithContext

func (s *IdpAdaptersService) InvokeActionWithContext(ctx context.Context, input *InvokeActionInput) (output *models.ActionResult, resp *http.Response, err error)

InvokeActionWithContext - Invokes an action for an IdP adapter instance. RequestType: POST Input: ctx context.Context, input *InvokeActionInput

func (*IdpAdaptersService) UpdateIdpAdapter

func (s *IdpAdaptersService) UpdateIdpAdapter(input *UpdateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

UpdateIdpAdapter - Update an IdP adapter instance. RequestType: PUT Input: input *UpdateIdpAdapterInput

func (*IdpAdaptersService) UpdateIdpAdapterWithContext

func (s *IdpAdaptersService) UpdateIdpAdapterWithContext(ctx context.Context, input *UpdateIdpAdapterInput) (output *models.IdpAdapter, resp *http.Response, err error)

UpdateIdpAdapterWithContext - Update an IdP adapter instance. RequestType: PUT Input: ctx context.Context, input *UpdateIdpAdapterInput

type InvokeActionInput

type InvokeActionInput struct {
	Id       string
	ActionId string
}

type UpdateIdpAdapterInput

type UpdateIdpAdapterInput struct {
	Body models.IdpAdapter
	Id   string

	BypassExternalValidation *bool
}

Jump to

Keyboard shortcuts

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