Skip to main content

Module config

Module config 

Source
Expand description

The OAuth App and the GitHub addresses a sign-in talks to.

Structs§

Endpoints
Where the OAuth endpoints (/login/...) and the REST API live.
OAuthClient
The app’s OAuth App, which the app supplies (the Framework has none). Without a secret, only the device flow works.

Constants§

API_URL
API_URL_ENV
Debug builds only: a numeric loopback address that stands in for API_URL, shared with the GitHub client.
OAUTH_URL
OAUTH_URL_ENV
Debug builds only: a numeric loopback address that stands in for OAUTH_URL, such as scripts/github_test_server.py.
SCOPES
The scopes a sign-in asks for: gh’s defaults without gist.