federatedauthentication

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoMatchingSAMLProvider = errors.New("failed to retrieve the SAML identity provider matching the legacy ID")
)

Functions

func BuildAtlasFederatedAuth

func BuildAtlasFederatedAuth(br *AtlasFederatedAuthBuildRequest) (*akov2.AtlasFederatedAuth, error)

BuildAtlasFederatedAuth builds an AtlasFederatedAuth resource.

func GetIdentityProviderForFederatedSettings

func GetIdentityProviderForFederatedSettings(st store.IdentityProviderLister, federationSettingsID string, identityProviderID string) (*atlasv2.FederationIdentityProvider, error)

GetIdentityProviderForFederatedSettings retrieves the requested identityprovider from a list of the identity provider for the given federation settings.

Types

type AtlasFederatedAuthBuildRequest

type AtlasFederatedAuthBuildRequest struct {
	IncludeSecret                bool
	IdentityProviderLister       store.IdentityProviderLister
	ConnectedOrgConfigsDescriber store.ConnectedOrgConfigsDescriber
	ProjectStore                 store.OperatorProjectStore
	IdentityProviderDescriber    store.IdentityProviderDescriber
	ProjectName                  string
	OrgID                        string
	ProjectID                    string
	FederatedSettings            *atlasv2.OrgFederationSettings
	Version                      string
	TargetNamespace              string
	Dictionary                   map[string]string
}

Jump to

Keyboard shortcuts

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