Autobot::CLI::Auth
Constants
AUTH_TIMEOUT = 5.minutes
DEFAULT_CALLBACK_PORT = 8085
FAILURE_HTML = "<h1>Authorization failed</h1><p>Invalid state or missing code.</p>"
GOOGLE_OAUTH_USER_AGENT = "google-api-nodejs-client/9.15.1"
Log = ::Log.for("cli.auth")
OAUTH_AUTH_URL = "https://accounts.google.com/o/oauth2/v2/auth"
OAUTH_TOKEN_URL = "https://oauth2.googleapis.com/token"
SCOPES = ["https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile"]
SUCCESS_HTML = "<h1>Authorization successful</h1><p>You can close this window and return to the terminal.</p><script>window.close()</script>"
Class methods
client_secret
Source