Documentation
¶
Index ¶
- Constants
- Variables
- type ArkSIASSOService
- func (s *ArkSIASSOService) ServiceConfig() services.ArkServiceConfig
- func (s *ArkSIASSOService) ShortLivedClientCertificate(...) error
- func (s *ArkSIASSOService) ShortLivedOracleWallet(getShortLivedOracleWallet *ssomodels.ArkSIASSOGetShortLivedOracleWallet) error
- func (s *ArkSIASSOService) ShortLivedPassword(getShortLivedPassword *ssomodels.ArkSIASSOGetShortLivedPassword) (string, error)
- func (s *ArkSIASSOService) ShortLivedRdpFile(getShortLivedRDPFile *ssomodels.ArkSIASSOGetShortLivedRDPFile) error
- func (s *ArkSIASSOService) ShortLivedSSHKey(getSSHKey *ssomodels.ArkSIASSOGetSSHKey) (string, error)
- func (s *ArkSIASSOService) ShortLivedTokenInfo(getTokenInfo *ssomodels.ArkSIASSOGetTokenInfo) (*ssomodels.ArkSIASSOTokenInfo, error)
Constants ¶
const (
DefaultSSHFolderPath = "~/.ssh"
)
DefaultSSHFolderPath is the default folder path for SSH keys.
Variables ¶
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.