authTokenManagement

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 = "AuthTokenManagement"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokenManagementAPI

type AuthTokenManagementAPI interface {
	DeleteAuthTokenManagementCommand() (resp *http.Response, err error)
	GetAuthTokenManagementCommand() (output *models.AuthTokenManagementView, resp *http.Response, err error)
	UpdateAuthTokenManagementCommand(input *UpdateAuthTokenManagementCommandInput) (output *models.AuthTokenManagementView, resp *http.Response, err error)
	GetAuthTokenKeySetCommand() (output *models.KeySetView, resp *http.Response, err error)
	UpdateAuthTokenKeySetCommand(input *UpdateAuthTokenKeySetCommandInput) (output *models.KeySetView, resp *http.Response, err error)
}

type AuthTokenManagementService

type AuthTokenManagementService struct {
	*client.Client
}

AuthTokenManagementService provides the API operations for making requests to AuthTokenManagement endpoint.

func New

New createa a new instance of the AuthTokenManagementService client.

Example:

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

//Create a AuthTokenManagementService from the configuration
svc := authTokenManagement.New(cfg)

func (*AuthTokenManagementService) DeleteAuthTokenManagementCommand

func (s *AuthTokenManagementService) DeleteAuthTokenManagementCommand() (resp *http.Response, err error)

DeleteAuthTokenManagementCommand - Resets the Auth Token Management configuration to default values RequestType: DELETE Input:

func (*AuthTokenManagementService) GetAuthTokenKeySetCommand

func (s *AuthTokenManagementService) GetAuthTokenKeySetCommand() (output *models.KeySetView, resp *http.Response, err error)

GetAuthTokenKeySetCommand - Get the Auth Token key set configuration RequestType: GET Input:

func (*AuthTokenManagementService) GetAuthTokenManagementCommand

func (s *AuthTokenManagementService) GetAuthTokenManagementCommand() (output *models.AuthTokenManagementView, resp *http.Response, err error)

GetAuthTokenManagementCommand - Get the Auth Token Management configuration RequestType: GET Input:

func (*AuthTokenManagementService) UpdateAuthTokenKeySetCommand

func (s *AuthTokenManagementService) UpdateAuthTokenKeySetCommand(input *UpdateAuthTokenKeySetCommandInput) (output *models.KeySetView, resp *http.Response, err error)

UpdateAuthTokenKeySetCommand - Update the AuthToken key set configuration RequestType: PUT Input: input *UpdateAuthTokenKeySetCommandInput

func (*AuthTokenManagementService) UpdateAuthTokenManagementCommand

func (s *AuthTokenManagementService) UpdateAuthTokenManagementCommand(input *UpdateAuthTokenManagementCommandInput) (output *models.AuthTokenManagementView, resp *http.Response, err error)

UpdateAuthTokenManagementCommand - Update the Auth Token Management configuration RequestType: PUT Input: input *UpdateAuthTokenManagementCommandInput

type UpdateAuthTokenKeySetCommandInput

type UpdateAuthTokenKeySetCommandInput struct {
	Body models.KeySetView
}

UpdateAuthTokenKeySetCommandInput - Inputs for UpdateAuthTokenKeySetCommand

type UpdateAuthTokenManagementCommandInput

type UpdateAuthTokenManagementCommandInput struct {
	Body models.AuthTokenManagementView
}

UpdateAuthTokenManagementCommandInput - Inputs for UpdateAuthTokenManagementCommand

Jump to

Keyboard shortcuts

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