oauthKeyManagement

package
v62.0.0-...-eaec136 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type OauthKeyManagementAPI

type OauthKeyManagementAPI interface {
	DeleteOAuthKeyManagementCommand() (resp *http.Response, err error)
	GetOAuthKeyManagementCommand() (output *models.OAuthKeyManagementView, resp *http.Response, err error)
	UpdateOAuthKeyManagementCommand(input *UpdateOAuthKeyManagementCommandInput) (output *models.OAuthKeyManagementView, resp *http.Response, err error)
	GetOAuthKeySetCommand() (output *models.KeySetView, resp *http.Response, err error)
	UpdateOAuthKeySetCommand(input *UpdateOAuthKeySetCommandInput) (output *models.KeySetView, resp *http.Response, err error)
}

type OauthKeyManagementService

type OauthKeyManagementService struct {
	*client.Client
}

OauthKeyManagementService provides the API operations for making requests to OauthKeyManagement endpoint.

func New

New createa a new instance of the OauthKeyManagementService client.

Example:

cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL)

//Create a OauthKeyManagementService from the configuration
svc := oauthKeyManagement.New(cfg)

func (*OauthKeyManagementService) DeleteOAuthKeyManagementCommand

func (s *OauthKeyManagementService) DeleteOAuthKeyManagementCommand() (resp *http.Response, err error)

DeleteOAuthKeyManagementCommand - Resets the OAuth Key Management configuration to default values RequestType: DELETE Input:

func (*OauthKeyManagementService) GetOAuthKeyManagementCommand

func (s *OauthKeyManagementService) GetOAuthKeyManagementCommand() (output *models.OAuthKeyManagementView, resp *http.Response, err error)

GetOAuthKeyManagementCommand - Get the OAuth Key Management configuration RequestType: GET Input:

func (*OauthKeyManagementService) GetOAuthKeySetCommand

func (s *OauthKeyManagementService) GetOAuthKeySetCommand() (output *models.KeySetView, resp *http.Response, err error)

GetOAuthKeySetCommand - Get the OAuth key set configuration RequestType: GET Input:

func (*OauthKeyManagementService) UpdateOAuthKeyManagementCommand

func (s *OauthKeyManagementService) UpdateOAuthKeyManagementCommand(input *UpdateOAuthKeyManagementCommandInput) (output *models.OAuthKeyManagementView, resp *http.Response, err error)

UpdateOAuthKeyManagementCommand - Update the OAuth Key Management configuration RequestType: PUT Input: input *UpdateOAuthKeyManagementCommandInput

func (*OauthKeyManagementService) UpdateOAuthKeySetCommand

func (s *OauthKeyManagementService) UpdateOAuthKeySetCommand(input *UpdateOAuthKeySetCommandInput) (output *models.KeySetView, resp *http.Response, err error)

UpdateOAuthKeySetCommand - Update the OAuth key set configuration RequestType: PUT Input: input *UpdateOAuthKeySetCommandInput

type UpdateOAuthKeyManagementCommandInput

type UpdateOAuthKeyManagementCommandInput struct {
	Body models.OAuthKeyManagementView
}

UpdateOAuthKeyManagementCommandInput - Inputs for UpdateOAuthKeyManagementCommand

type UpdateOAuthKeySetCommandInput

type UpdateOAuthKeySetCommandInput struct {
	Body models.KeySetView
}

UpdateOAuthKeySetCommandInput - Inputs for UpdateOAuthKeySetCommand

Jump to

Keyboard shortcuts

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