Documentation
¶
Overview ¶
Package authclient contains a CLI authentication client for Pomerium.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClient ¶
type AuthClient struct {
// contains filtered or unexported fields
}
An AuthClient retrieves an authentication JWT via the Pomerium login API.
type Option ¶
type Option func(*config)
An Option modifies the config.
func WithBrowserCommand ¶
WithBrowserCommand returns an option to configure the browser command.
func WithServiceAccount ¶ added in v0.21.0
WithServiceAccount sets the service account in the config.
func WithServiceAccountFile ¶ added in v0.21.0
WithServiceAccountFile sets the service account file in the config.
func WithTLSConfig ¶
WithTLSConfig returns an option to configure the tls config.
Click to show internal directories.
Click to hide internal directories.