Documentation ¶
Index ¶
- Constants
- type TokenProviderAPI
- type TokenProviderService
- func (s *TokenProviderService) DeleteTokenProviderSettingCommand() (resp *http.Response, err error)
- func (s *TokenProviderService) GetTokenProviderSettingCommand() (output *models.TokenProviderSettingView, resp *http.Response, err error)
- func (s *TokenProviderService) UpdateTokenProviderSettingCommand(input *UpdateTokenProviderSettingCommandInput) (output *models.TokenProviderSettingView, resp *http.Response, err error)
- type UpdateTokenProviderSettingCommandInput
Constants ¶
View Source
const (
// ServiceName - The name of service.
ServiceName = "TokenProvider"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenProviderAPI ¶
type TokenProviderAPI interface { DeleteTokenProviderSettingCommand() (resp *http.Response, err error) GetTokenProviderSettingCommand() (output *models.TokenProviderSettingView, resp *http.Response, err error) UpdateTokenProviderSettingCommand(input *UpdateTokenProviderSettingCommandInput) (output *models.TokenProviderSettingView, resp *http.Response, err error) }
type TokenProviderService ¶
TokenProviderService provides the API operations for making requests to TokenProvider endpoint.
func New ¶
func New(cfg *config.Config) *TokenProviderService
New createa a new instance of the TokenProviderService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2Access").WithEndpoint(paURL) //Create a TokenProviderService from the configuration svc := tokenProvider.New(cfg)
func (*TokenProviderService) DeleteTokenProviderSettingCommand ¶
func (s *TokenProviderService) DeleteTokenProviderSettingCommand() (resp *http.Response, err error)
DeleteTokenProviderSettingCommand - Resets the Token Provider settings to default values RequestType: DELETE Input:
func (*TokenProviderService) GetTokenProviderSettingCommand ¶
func (s *TokenProviderService) GetTokenProviderSettingCommand() (output *models.TokenProviderSettingView, resp *http.Response, err error)
GetTokenProviderSettingCommand - Get the Token Provider settings RequestType: GET Input:
func (*TokenProviderService) UpdateTokenProviderSettingCommand ¶
func (s *TokenProviderService) UpdateTokenProviderSettingCommand(input *UpdateTokenProviderSettingCommandInput) (output *models.TokenProviderSettingView, resp *http.Response, err error)
UpdateTokenProviderSettingCommand - Update the Token Provider setting RequestType: PUT Input: input *UpdateTokenProviderSettingCommandInput
type UpdateTokenProviderSettingCommandInput ¶
type UpdateTokenProviderSettingCommandInput struct {
Body models.TokenProviderSettingView
}
UpdateTokenProviderSettingCommandInput - Inputs for UpdateTokenProviderSettingCommand
Click to show internal directories.
Click to hide internal directories.