sso

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSSHFolderPath = "~/.ssh"
)

DefaultSSHFolderPath is the default folder path for SSH keys.

Variables

View Source
var ServiceConfig = services.IdsecServiceConfig{
	ServiceName:                "sia-sso",
	RequiredAuthenticatorNames: []string{"isp"},
	OptionalAuthenticatorNames: []string{},
	ActionsConfigurations: map[actions.IdsecServiceActionType][]actions.IdsecServiceActionDefinition{
		actions.IdsecServiceActionTypeCLI: {
			siassoactions.CLIAction,
		},
	},
}

ServiceConfig is the configuration for the SSO service.

View Source
var ServiceGenerator = NewIdsecSIASSOService

ServiceGenerator is the function that creates a new instance of the SIA SSO service.

Functions

This section is empty.

Types

type IdsecSIASSOService

type IdsecSIASSOService struct {
	services.IdsecService
	*services.IdsecBaseService
	// contains filtered or unexported fields
}

IdsecSIASSOService is a struct that implements the IdsecService interface and provides functionality for SSO services of SIA.

func NewIdsecSIASSOService

func NewIdsecSIASSOService(authenticators ...auth.IdsecAuth) (*IdsecSIASSOService, error)

NewIdsecSIASSOService creates a new instance of IdsecSIASSOService with the provided authenticators.

func (*IdsecSIASSOService) ServiceConfig

func (s *IdsecSIASSOService) ServiceConfig() services.IdsecServiceConfig

ServiceConfig returns the service configuration for the IdsecSIASSOService.

func (*IdsecSIASSOService) ShortLivedClientCertificate

func (s *IdsecSIASSOService) ShortLivedClientCertificate(getShortLivedClientCertificate *ssomodels.IdsecSIASSOGetShortLivedClientCertificate) error

ShortLivedClientCertificate generates a short-lived client certificate for the user to connect.

func (*IdsecSIASSOService) ShortLivedOracleWallet

func (s *IdsecSIASSOService) ShortLivedOracleWallet(getShortLivedOracleWallet *ssomodels.IdsecSIASSOGetShortLivedOracleWallet) error

ShortLivedOracleWallet generates a short-lived oracle wallet for the user to connect to oracle databases.

func (*IdsecSIASSOService) ShortLivedPassword

func (s *IdsecSIASSOService) ShortLivedPassword(getShortLivedPassword *ssomodels.IdsecSIASSOGetShortLivedPassword) (string, error)

ShortLivedPassword generates a short-lived password token for the user to connect.

func (*IdsecSIASSOService) ShortLivedRdpFile

func (s *IdsecSIASSOService) ShortLivedRdpFile(getShortLivedRDPFile *ssomodels.IdsecSIASSOGetShortLivedRDPFile) error

ShortLivedRdpFile generates a short-lived RDP file for the user to connect to remote desktops.

func (*IdsecSIASSOService) ShortLivedSSHKey

func (s *IdsecSIASSOService) ShortLivedSSHKey(getSSHKey *ssomodels.IdsecSIASSOGetSSHKey) (string, error)

ShortLivedSSHKey generates a short-lived SSH key for the user to connect to remote servers.

func (*IdsecSIASSOService) ShortLivedTokenInfo

func (s *IdsecSIASSOService) ShortLivedTokenInfo(getTokenInfo *ssomodels.IdsecSIASSOGetTokenInfo) (*ssomodels.IdsecSIASSOTokenInfo, error)

ShortLivedTokenInfo retrieves information about a short-lived token.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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