A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pub.dev/documentation/github/latest/github/../github/findAuthenticationFromEnvironment.html below:

findAuthenticationFromEnvironment function - github library

findAuthenticationFromEnvironment function

Looks for GitHub Authentication information from the current environment.

If in a browser context, it will look through query string parameters first and then sessionStorage.

If in a server, command line or Flutter context it will use the system environment variables.

In both contexts it delegates to findAuthenticationInMap to find the github token or username and password.

Implementation
Authentication findAuthenticationFromEnvironment() =>
    const Authentication.anonymous();

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4