adminSessionInfo

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 AdminSessionInfoAPI interface {
	AdminSessionDeleteCommand() (resp *http.Response, err error)
	AdminSessionInfoCommand() (output *models.SessionInfo, resp *http.Response, err error)
	AdminSessionInfoCheckCommand() (output *models.SessionInfo, resp *http.Response, err error)
}

type AdminSessionInfoService

type AdminSessionInfoService struct {
	*client.Client
}

AdminSessionInfoService provides the API operations for making requests to AdminSessionInfo endpoint.

func New

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:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL