Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { GSuite GSuite `json:"gsuite"` OAuth OAuth `json:"oauth"` Server Server `json:"server"` }
Config ...
type GSuite ¶
type GSuite struct { // Base64 encoded representation of the service account. // Either this or the path need to be set ServiceAccountBase64EncodedFile string `json:"service_account_file"` // The file path where the service account file can be found. // If this is prefixed with s3:// it will go look in S3 for the // file. Must be in the format of s3://<bucket>/<path>. // Otherwise, this must be the absolute path ServiceAccountPath string `json:"service_account_path"` ClientID string `json:"client_id"` ServiceAccountEmail string `json:"service_account_email"` ImpersonationEmail string `json:"impersonation_email"` }
GSuite encapsulates all GSuite service info
type OAuth ¶
type OAuth struct { ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` // Scopes will come in as a comma delimited string Scopes []string `json:"scopes"` TokenURL string `json:"token_url"` AuthURL string `json:"auth_url"` RedirectURL string `json:"redirect_url"` StateParameterGenerator func() string `json:"-"` }
OAuth encapsulates all OAuth configs
Click to show internal directories.
Click to hide internal directories.