authentication

package
v2.60.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil

func IsNil(i interface{}) bool

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

type AuthenticationService struct {
	services.Service
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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