Documentation ¶
Index ¶
- Constants
- type AccessTokenValidatorsAPI
- type AccessTokenValidatorsService
- func (s *AccessTokenValidatorsService) AddAccessTokenValidatorCommand(input *AddAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error)
- func (s *AccessTokenValidatorsService) DeleteAccessTokenValidatorCommand(input *DeleteAccessTokenValidatorCommandInput) (resp *http.Response, err error)
- func (s *AccessTokenValidatorsService) GetAccessTokenValidatorCommand(input *GetAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error)
- func (s *AccessTokenValidatorsService) GetAccessTokenValidatorDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
- func (s *AccessTokenValidatorsService) GetAccessTokenValidatorsCommand(input *GetAccessTokenValidatorsCommandInput) (output *models.AccessTokenValidatorsView, resp *http.Response, err error)
- func (s *AccessTokenValidatorsService) UpdateAccessTokenValidatorCommand(input *UpdateAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error)
- type AddAccessTokenValidatorCommandInput
- type DeleteAccessTokenValidatorCommandInput
- type GetAccessTokenValidatorCommandInput
- type GetAccessTokenValidatorsCommandInput
- type UpdateAccessTokenValidatorCommandInput
Constants ¶
const (
// ServiceName - The name of service.
ServiceName = "AccessTokenValidators"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenValidatorsAPI ¶
type AccessTokenValidatorsAPI interface { GetAccessTokenValidatorsCommand(input *GetAccessTokenValidatorsCommandInput) (output *models.AccessTokenValidatorsView, resp *http.Response, err error) AddAccessTokenValidatorCommand(input *AddAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error) GetAccessTokenValidatorDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error) DeleteAccessTokenValidatorCommand(input *DeleteAccessTokenValidatorCommandInput) (resp *http.Response, err error) GetAccessTokenValidatorCommand(input *GetAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error) UpdateAccessTokenValidatorCommand(input *UpdateAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error) }
type AccessTokenValidatorsService ¶
AccessTokenValidatorsService provides the API operations for making requests to AccessTokenValidators endpoint.
func New ¶
func New(cfg *config.Config) *AccessTokenValidatorsService
New createa a new instance of the AccessTokenValidatorsService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //Create a AccessTokenValidatorsService from the configuration svc := accessTokenValidators.New(cfg)
func (*AccessTokenValidatorsService) AddAccessTokenValidatorCommand ¶
func (s *AccessTokenValidatorsService) AddAccessTokenValidatorCommand(input *AddAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error)
AddAccessTokenValidatorCommand - Create an Access Token Validator RequestType: POST Input: input *AddAccessTokenValidatorCommandInput
func (*AccessTokenValidatorsService) DeleteAccessTokenValidatorCommand ¶
func (s *AccessTokenValidatorsService) DeleteAccessTokenValidatorCommand(input *DeleteAccessTokenValidatorCommandInput) (resp *http.Response, err error)
DeleteAccessTokenValidatorCommand - Delete a Access Token Validator RequestType: DELETE Input: input *DeleteAccessTokenValidatorCommandInput
func (*AccessTokenValidatorsService) GetAccessTokenValidatorCommand ¶
func (s *AccessTokenValidatorsService) GetAccessTokenValidatorCommand(input *GetAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error)
GetAccessTokenValidatorCommand - Get an Access Token Validator RequestType: GET Input: input *GetAccessTokenValidatorCommandInput
func (*AccessTokenValidatorsService) GetAccessTokenValidatorDescriptorsCommand ¶
func (s *AccessTokenValidatorsService) GetAccessTokenValidatorDescriptorsCommand() (output *models.DescriptorsView, resp *http.Response, err error)
GetAccessTokenValidatorDescriptorsCommand - Get descriptors for all Access Token Validators RequestType: GET Input:
func (*AccessTokenValidatorsService) GetAccessTokenValidatorsCommand ¶
func (s *AccessTokenValidatorsService) GetAccessTokenValidatorsCommand(input *GetAccessTokenValidatorsCommandInput) (output *models.AccessTokenValidatorsView, resp *http.Response, err error)
GetAccessTokenValidatorsCommand - Get all Access Token Validators RequestType: GET Input: input *GetAccessTokenValidatorsCommandInput
func (*AccessTokenValidatorsService) UpdateAccessTokenValidatorCommand ¶
func (s *AccessTokenValidatorsService) UpdateAccessTokenValidatorCommand(input *UpdateAccessTokenValidatorCommandInput) (output *models.AccessTokenValidatorView, resp *http.Response, err error)
UpdateAccessTokenValidatorCommand - Update an Access Token Validator RequestType: PUT Input: input *UpdateAccessTokenValidatorCommandInput
type AddAccessTokenValidatorCommandInput ¶
type AddAccessTokenValidatorCommandInput struct {
Body models.AccessTokenValidatorView
}
AddAccessTokenValidatorCommandInput - Inputs for AddAccessTokenValidatorCommand
type DeleteAccessTokenValidatorCommandInput ¶
type DeleteAccessTokenValidatorCommandInput struct {
Id string
}
DeleteAccessTokenValidatorCommandInput - Inputs for DeleteAccessTokenValidatorCommand
type GetAccessTokenValidatorCommandInput ¶
type GetAccessTokenValidatorCommandInput struct {
Id string
}
GetAccessTokenValidatorCommandInput - Inputs for GetAccessTokenValidatorCommand
type GetAccessTokenValidatorsCommandInput ¶
type GetAccessTokenValidatorsCommandInput struct { Page string NumberPerPage string Filter string Name string SortKey string Order string }
GetAccessTokenValidatorsCommandInput - Inputs for GetAccessTokenValidatorsCommand
type UpdateAccessTokenValidatorCommandInput ¶
type UpdateAccessTokenValidatorCommandInput struct { Body models.AccessTokenValidatorView Id string }
UpdateAccessTokenValidatorCommandInput - Inputs for UpdateAccessTokenValidatorCommand