authentication

package
v2.55.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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