Documentation ¶
Index ¶
- Constants
- type AdminSessionInfoAPI
- type AdminSessionInfoService
- func (s *AdminSessionInfoService) AdminSessionDeleteCommand() (resp *http.Response, err error)
- func (s *AdminSessionInfoService) AdminSessionInfoCheckCommand() (output *models.SessionInfo, resp *http.Response, err error)
- func (s *AdminSessionInfoService) AdminSessionInfoCommand() (output *models.SessionInfo, resp *http.Response, err error)
Constants ¶
View Source
const (
// ServiceName - The name of service.
ServiceName = "AdminSessionInfo"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminSessionInfoAPI ¶
type AdminSessionInfoService ¶
AdminSessionInfoService provides the API operations for making requests to AdminSessionInfo endpoint.
func New ¶
func New(cfg *config.Config) *AdminSessionInfoService
New createa a new instance of the AdminSessionInfoService client.
Example:
cfg := config.NewConfig().WithUsername("Administrator").WithPassword("2FederateM0re").WithEndpoint(paURL.String()) //Create a AdminSessionInfoService from the configuration svc := adminSessionInfo.New(cfg)
func (*AdminSessionInfoService) AdminSessionDeleteCommand ¶
func (s *AdminSessionInfoService) AdminSessionDeleteCommand() (resp *http.Response, err error)
AdminSessionDeleteCommand - Invalidate the Admin session information RequestType: DELETE Input:
func (*AdminSessionInfoService) AdminSessionInfoCheckCommand ¶
func (s *AdminSessionInfoService) AdminSessionInfoCheckCommand() (output *models.SessionInfo, resp *http.Response, err error)
AdminSessionInfoCheckCommand - Return the Admin session information without affecting session expiration RequestType: GET Input:
func (*AdminSessionInfoService) AdminSessionInfoCommand ¶
func (s *AdminSessionInfoService) AdminSessionInfoCommand() (output *models.SessionInfo, resp *http.Response, err error)
AdminSessionInfoCommand - Return the Admin session information RequestType: GET Input:
Click to show internal directories.
Click to hide internal directories.