Documentation ¶
Index ¶
- func ConvertAuthType(authChoice string) (config.AuthType, error)
- func HandleAuthChoice(authType config.AuthType, targetOS config.OperatingSystem) error
- func PromptAndConfigAuth(osType config.OperatingSystem) error
- func PromptAndConvertAuthType() (config.AuthType, error)
- func PromptAuth() (bool, error)
- func PromptAuthentication() (string, error)
- func PromptOIDCClientID() (string, error)
- func PromptOIDCClientSecret() (string, error)
- func PromptOIDCIssuerURL() (string, error)
- func PromptOIDCUsernameClaim() (string, error)
- func PromptSAMLAttribute() (string, error)
- func PromptSAMLMetadataURL() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAuthType ¶
Convert authChoice from a string to a proper AuthType type
func HandleAuthChoice ¶
func HandleAuthChoice(authType config.AuthType, targetOS config.OperatingSystem) error
Route an authentication choice to the proper prompts/information
func PromptAndConfigAuth ¶
func PromptAndConfigAuth(osType config.OperatingSystem) error
func PromptAuth ¶
Prompt asking users if they wish to setup Authentication
func PromptAuthentication ¶
Prompt asking user for their desired authentication method
func PromptOIDCClientID ¶
Prompt asking users to provide a client-id for OIDC
func PromptOIDCClientSecret ¶
Prompt asking users to provide a client-secret for OIDC
func PromptOIDCIssuerURL ¶
Prompt asking users to provide an issuer URL for OIDC
func PromptOIDCUsernameClaim ¶
Prompt asking users to provide a username claim for OIDC
func PromptSAMLAttribute ¶
Prompt asking users to provide a username attribute for SAML
func PromptSAMLMetadataURL ¶
Prompt asking users to provide a metadata URL for SAML
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.