Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginCommand ¶
Types ¶
type Config ¶
type Config struct { OAuth OAuthProviderConfig `mapstructure:"oauth" yaml:"oauth"` Expiry int64 `mapstructure:"expiry" yaml:"expiry"` AccessToken string `mapstructure:"access_token" yaml:"access_token"` RefreshToken string `mapstructure:"refresh_token" yaml:"refresh_token"` }
func LoadConfig ¶
type OAuthEndpoint ¶
type OAuthProviderConfig ¶
type OAuthProviderConfig struct { Audience string `mapstructure:"audience" yaml:"audience"` Endpoint OAuthEndpoint `mapstructure:"endpoint" yaml:"endpoint"` ClientID string `mapstructure:"client_id" yaml:"client_id"` ClientSecret string `mapstructure:"client_secret" yaml:"client_secret"` }
Click to show internal directories.
Click to hide internal directories.