Documentation ¶
Index ¶
- Constants
- type AuthTokenManagementAPI
- type AuthTokenManagementService
- func (s *AuthTokenManagementService) DeleteAuthTokenManagementCommand() (resp *http.Response, err error)
- func (s *AuthTokenManagementService) GetAuthTokenKeySetCommand() (output *models.KeySetView, resp *http.Response, err error)
- func (s *AuthTokenManagementService) GetAuthTokenManagementCommand() (output *models.AuthTokenManagementView, resp *http.Response, err error)
- func (s *AuthTokenManagementService) UpdateAuthTokenKeySetCommand(input *UpdateAuthTokenKeySetCommandInput) (output *models.KeySetView, resp *http.Response, err error)
- func (s *AuthTokenManagementService) UpdateAuthTokenManagementCommand(input *UpdateAuthTokenManagementCommandInput) (output *models.AuthTokenManagementView, resp *http.Response, err error)
- type UpdateAuthTokenKeySetCommandInput
- type UpdateAuthTokenManagementCommandInput
Constants ¶
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 ¶
AuthTokenManagementService provides the API operations for making requests to AuthTokenManagement endpoint.
func New ¶
func New(cfg *config.Config) *AuthTokenManagementService
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