Documentation ¶
Index ¶
- Constants
- type OauthKeyManagementAPI
- type OauthKeyManagementService
- func (s *OauthKeyManagementService) DeleteOAuthKeyManagementCommand() (resp *http.Response, err error)
- func (s *OauthKeyManagementService) GetOAuthKeyManagementCommand() (output *models.OAuthKeyManagementView, resp *http.Response, err error)
- func (s *OauthKeyManagementService) GetOAuthKeySetCommand() (output *models.KeySetView, resp *http.Response, err error)
- func (s *OauthKeyManagementService) UpdateOAuthKeyManagementCommand(input *UpdateOAuthKeyManagementCommandInput) (output *models.OAuthKeyManagementView, resp *http.Response, err error)
- func (s *OauthKeyManagementService) UpdateOAuthKeySetCommand(input *UpdateOAuthKeySetCommandInput) (output *models.KeySetView, resp *http.Response, err error)
- type UpdateOAuthKeyManagementCommandInput
- type UpdateOAuthKeySetCommandInput
Constants ¶
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 ¶
OauthKeyManagementService provides the API operations for making requests to OauthKeyManagement endpoint.
func New ¶
func New(cfg *config.Config) *OauthKeyManagementService
New createa a new instance of the OauthKeyManagementService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2FederateM0re").WithEndpoint(paURL.String()) //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