diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2024-01-22 07:49:44 -0500 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2024-01-22 07:49:44 -0500 |
commit | 7c16a136150c4509f6bb2dd6712a085d81441be3 (patch) | |
tree | 1d57504f60b21a7e446e9723a15cf35ee60ea6bb /pkg/atlas/config.go | |
parent | 178ea8367ebda95f5f275af203b96f0903bc4585 (diff) | |
download | Atlas-7c16a136150c4509f6bb2dd6712a085d81441be3.tar.gz Atlas-7c16a136150c4509f6bb2dd6712a085d81441be3.zip |
all: Drop support for origin username source
Diffstat (limited to 'pkg/atlas/config.go')
-rw-r--r-- | pkg/atlas/config.go | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/pkg/atlas/config.go b/pkg/atlas/config.go index ed108c1..07c88ac 100644 --- a/pkg/atlas/config.go +++ b/pkg/atlas/config.go @@ -168,41 +168,12 @@ type Config struct { // Sets the source used for resolving usernames. If not specified, "origin" // is used if OriginEmail is provided, otherwise, "none" is used. // - none (don't get usernames) - // - origin (get the username from the Origin API) - // - origin-eax (get the username from the Origin API, but fall back to EAX on failure) - // - origin-eax-debug (get the username from the Origin API, but also check EAX and warn if it's different) // - eax (get the username from EAX) - // - eax-origin (get the username from EAX, but fall back to the Origin API on failure) + // - stryder (get the username from Stryder) + // - stryder-eax (get the username from Stryder, but fall back to EAX on failure) + // - stryder-eax-debug (get the username from Stryder, but also check EAX and warn if it's different) UsernameSource string `env:"ATLAS_USERNAMESOURCE"` - // The email address to use for Origin login. If not provided, the Origin - // API will not be used. If it begins with @, it is treated as the name of a - // systemd credential to load. - OriginEmail string `env:"ATLAS_ORIGIN_EMAIL" sdcreds:"load,trimspace"` - - // The password for Origin login. If it begins with @, it is treated as the - // name of a systemd credential to load. - OriginPassword string `env:"ATLAS_ORIGIN_PASSWORD" sdcreds:"load,trimspace"` - - // The base32 TOTP secret for Origin login. If it begins with @, it is - // treated as the name of a systemd credential to load. - OriginTOTP string `env:"ATLAS_ORIGIN_TOTP" sdcreds:"load,trimspace"` - - // OriginHARGzip controls whether to compress saved HAR archives. - OriginHARGzip bool `env:"ATLAS_ORIGIN_HAR_GZIP"` - - // OriginHARSuccess is the path to a directory to save HAR archives of - // successful Origin auth attempts. - OriginHARSuccess string `env:"ATLAS_ORIGIN_HAR_SUCCESS"` - - // OriginHARError is the path to a directory to save HAR archives of - // successful Origin auth attempts. - OriginHARError string `env:"ATLAS_ORIGIN_HAR_ERROR"` - - // The JSON file to save Origin login info to so tokens are preserved across - // restarts. Highly recommended. - OriginPersist string `env:"ATLAS_ORIGIN_PERSIST"` - // Override the EAX EA App version. If specified, updates will not be // checked automatically. EAXUpdateVersion string `env:"EAX_UPDATE_VERSION"` |