identity_firebase_github 0.2.0

  • Readme
  • Changelog
  • Installing
  • new56

dart-identity-firebase-github #

Github SSO by Firebase for Identity package

Getting Started #

Create GitHub app and enable GitHub in Firebase project

Add package dependency

identity_firebase_github: ^0.1.0

Configure Identity Firebase

import 'package:identity/identity.dart';
import 'package:identity_firebase/identity_firebase.dart';
import 'package:identity_firebase_github/identity_firebase_github.dart';

// ...

  void initState() {

              clientId: "[client_id]",
              clientSecret: "[client_secret]",
              redirectUrl: "[firebae_redirect_url]",
              scope: "user:email",
              clearCache: false) // set to false to allow to reuse current session, default is true
        (context) => HomePage());

[0.2.0] - v0.2.0

  • Upgrade identity_firebase

[0.1.0] - v0.1.0

  • Add Sign In With GitHub

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  identity_firebase_github: ^0.2.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:identity_firebase_github/identity_firebase_github.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 19, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Maintenance suggestions

The package description is too short. (-17 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and identity_firebase_github.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
firebase_auth ^0.15.3 0.15.3+1
flutter 0.0.0
github_sign_in ^0.0.1 0.0.3
identity ^0.2.0 0.2.0
identity_firebase ^0.2.0 0.2.0+1
sso ^0.2.0 0.2.0
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.11 1.14.12
firebase 7.2.0
firebase_auth_platform_interface 1.1.5
firebase_auth_web 0.1.1+4
firebase_core 0.4.3+2
firebase_core_platform_interface 1.0.2
firebase_core_web 0.1.1+2
flutter_web_plugins 0.0.0
flutter_webview_plugin 0.3.10+1
http 0.12.0+4
http_parser 3.1.3
js 0.6.1+1
matcher 0.12.6
meta 1.1.8
path 1.6.4
pedantic 1.9.0
quiver 2.1.2+1
sky_engine 0.0.99
source_span 1.6.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8