Documentation
¶
Index ¶
- Constants
- Variables
- type IdsecSIASSOService
- func (s *IdsecSIASSOService) ServiceConfig() services.IdsecServiceConfig
- func (s *IdsecSIASSOService) ShortLivedClientCertificate(...) error
- func (s *IdsecSIASSOService) ShortLivedOracleWallet(getShortLivedOracleWallet *ssomodels.IdsecSIASSOGetShortLivedOracleWallet) error
- func (s *IdsecSIASSOService) ShortLivedPassword(getShortLivedPassword *ssomodels.IdsecSIASSOGetShortLivedPassword) (string, error)
- func (s *IdsecSIASSOService) ShortLivedRdpFile(getShortLivedRDPFile *ssomodels.IdsecSIASSOGetShortLivedRDPFile) error
- func (s *IdsecSIASSOService) ShortLivedSSHKey(getSSHKey *ssomodels.IdsecSIASSOGetSSHKey) (string, error)
- func (s *IdsecSIASSOService) ShortLivedTokenInfo(getTokenInfo *ssomodels.IdsecSIASSOGetTokenInfo) (*ssomodels.IdsecSIASSOTokenInfo, error)
Constants ¶
const (
DefaultSSHFolderPath = "~/.ssh"
)
DefaultSSHFolderPath is the default folder path for SSH keys.
Variables ¶
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.
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.