CredentialStores
Namespace: E2E.OAuth
public static class CredentialStoresThe stores the subscription models and the CLI use.
Inheritance: object
Fields
Section titled “Fields”EnvironmentVariable
Section titled “EnvironmentVariable”public const string EnvironmentVariable = "E2E_OAUTH_CREDENTIALS"Credentials JSON in the environment, standing in for the file on a machine the user cannot sign in on.
Value: string
Methods
Section titled “Methods”Default()
Section titled “Default()”public static ICredentialStore Default()EnvironmentVariable when set, else the file at DefaultPath().
Returns: ICredentialStore
DefaultPath()
Section titled “DefaultPath()”public static string DefaultPath()$XDG_CONFIG_HOME/e2e/oauth.json, or ~/.config/e2e/oauth.json: the file upstream’s
e2e login writes, so a login made with either CLI serves both.
Returns: string