Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authentication ¶
type Authentication struct { AnyAuthenticationProvidersSupportPasswordManagement bool `json:"AnyAuthenticationProvidersSupportPasswordManagement"` AuthenticationProviders []*AuthenticationProviderElement `json:"AuthenticationProviders"` AutoLoginEnabled bool `json:"AutoLoginEnabled"` resources.Resource }
Authentication represents enabled authentication providers.
func NewAuthentication ¶
func NewAuthentication() *Authentication
type AuthenticationProviderElement ¶
type AuthenticationProviderElement struct { CSSLinks []string `json:"CSSLinks"` FormsLoginEnabled bool `json:"FormsLoginEnabled"` IdentityType string `json:"IdentityType,omitempty"` JavascriptLinks []string `json:"JavascriptLinks"` Links map[string]string `json:"Links,omitempty"` Name string `json:"Name,omitempty"` }
AuthenticationProviderElement represents an authentication provider element.
type AuthenticationService ¶
AuthenticationService handles communication with Authentication-related methods of the Octopus API.
func NewAuthenticationService ¶
func NewAuthenticationService(sling *sling.Sling, uriTemplate string, loginInitiatedPath string) *AuthenticationService
NewAuthenticationService returns an AuthenticationService with a preconfigured client.
func (*AuthenticationService) Get ¶
func (s *AuthenticationService) Get() (*Authentication, error)
Click to show internal directories.
Click to hide internal directories.