sso

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

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

DefaultSSHFolderPath is the default folder path for SSH keys.

Variables

View Source
var SIASSOServiceConfig = services.ArkServiceConfig{
	ServiceName:                "sia-sso",
	RequiredAuthenticatorNames: []string{"isp"},
	OptionalAuthenticatorNames: []string{},
}

SIASSOServiceConfig is the configuration for the SSO service.

Functions

This section is empty.

Types

type ArkSIASSOService

type ArkSIASSOService struct {
	services.ArkService
	*services.ArkBaseService
	// contains filtered or unexported fields
}

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

func NewArkSIASSOService

func NewArkSIASSOService(authenticators ...auth.ArkAuth) (*ArkSIASSOService, error)

NewArkSIASSOService creates a new instance of ArkSIASSOService with the provided authenticators.

func (*ArkSIASSOService) ServiceConfig

func (s *ArkSIASSOService) ServiceConfig() services.ArkServiceConfig

ServiceConfig returns the service configuration for the ArkSIASSOService.

func (*ArkSIASSOService) ShortLivedClientCertificate

func (s *ArkSIASSOService) ShortLivedClientCertificate(getShortLivedClientCertificate *ssomodels.ArkSIASSOGetShortLivedClientCertificate) error

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

func (*ArkSIASSOService) ShortLivedOracleWallet

func (s *ArkSIASSOService) ShortLivedOracleWallet(getShortLivedOracleWallet *ssomodels.ArkSIASSOGetShortLivedOracleWallet) error

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

func (*ArkSIASSOService) ShortLivedPassword

func (s *ArkSIASSOService) ShortLivedPassword(getShortLivedPassword *ssomodels.ArkSIASSOGetShortLivedPassword) (string, error)

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

func (*ArkSIASSOService) ShortLivedRdpFile

func (s *ArkSIASSOService) ShortLivedRdpFile(getShortLivedRDPFile *ssomodels.ArkSIASSOGetShortLivedRDPFile) error

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

func (*ArkSIASSOService) ShortLivedSSHKey

func (s *ArkSIASSOService) ShortLivedSSHKey(getSSHKey *ssomodels.ArkSIASSOGetSSHKey) (string, error)

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

func (*ArkSIASSOService) ShortLivedTokenInfo

func (s *ArkSIASSOService) ShortLivedTokenInfo(getTokenInfo *ssomodels.ArkSIASSOGetTokenInfo) (*ssomodels.ArkSIASSOTokenInfo, 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