Prefix for URLs for authentication with GitHub.
Stores the expiry date of the cookie set.
Exported as cookieExpiry
.
Stores the domain name for callback url after successful authentication.
Exported as hostUrl
for callback after GitHub sends code
.
Stores the type of environment of project. It is either development
or
production
.
Exported as nodeEnv
to differentiate behaviour of app on development and
production server.
Stores the pagination size of displaying gists.
Exported as paginationSize
.
Secret used to sign the session ID cookie.
Exported as sessionSecret
to configure cookie creation.
Stores the different types of URLs required for authentication.
Exported as authUrl
for configuring endpoints of authentication.
The URL redirected to after successful authentication with GitHub.
Endpoint to verify if the user is authenticated.
Endpoint for signing out of the back-end service.
Endpoint for signing in with GitHub.
Stores the client ID and client secret of GitHub OAuth application created here.
Exported as githubOauth
for configuring GitHub passport strategy.
Client ID of OAuth application.
Client secret of OAuth application.
Stores redirection URL for successful and failed authentication.
Exported as redirectUrl
for redirections.
The URL redirected to if the user is not logged in.
The URL redirected by this back-end service to homepage.
Stores the configuration for redis store.
Host name for redis store.
Host password for redis store.
Port number for redis store.
Generated using TypeDoc
OAuth strategy to authenticate with GitHub. Reference: http://www.passportjs.org/packages/passport-github2/