auth library
Copyright (C) 2020 Andrious Solutions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Created 12 Feb 2020
Classes
- AccessToken
- Class that contains the facebook access token data
- AdditionalUserInfo
- A structure containing additional user information from a federated identity provider.
- Auth
- AuthCredential
- Interface that represents the credentials returned by an auth provider. Implementations specify the details about each auth provider's credential requirements.
- FacebookAuth
- this class implements the FacebookAuthPlatform interface and calls to the native APIs on Android, iOS and web.
- FacebookAuthProvider
- This class should be used to either create a new Facebook credential with an access code, or use the provider to trigger user authentication flows.
- FacebookPermissions
- this class is used to saved the granted and declined permissions after login
- FirebaseAuth
- The entry point of the Firebase Authentication SDK.
- FirebaseOptions
- The options used to configure a Firebase app.
- GoogleAuthProvider
- This class should be used to either create a new Google credential with an access code, or use the provider to trigger user authentication flows.
- GoogleSignIn
- GoogleSignIn allows you to authenticate Google users.
- GoogleSignInAccount
-
Holds fields describing a signed in user's identity, following
GoogleSignInUserData
. - GoogleSignInAuthentication
- Holds authentication tokens after sign in.
- GoogleUserCircleAvatar
- Builds a CircleAvatar profile image of the appropriate resolution
- IdTokenResult
-
Interface representing ID token result obtained from
getIdTokenResult
. It contains the ID token JWT string and other helper properties for getting different data associated with the token as well as all the decoded payload claims. - LoginResult
- class to handle a login request
- TwitterAuthProvider
- This class should be used to either create a new Twitter credential with an access code, or use the provider to trigger user authentication flows.
- User
- A user account.
- UserCredential
-
A UserCredential is returned from authentication requests such as
createUserWithEmailAndPassword
. - UserInfo
- User profile information, visible only to the Firebase project's apps.
Enums
- LoginBehavior
- defines the login ui Behavior on Android
- LoginStatus
Constants
- defaultFirebaseAppName → const String
- The default Firebase application name.
Typedefs
- FireBaseListener = void Function(User? user)
-
FirebaseUser
= Future<
User> Function() - GoogleListener = void Function(GoogleSignInAccount? event)
Exceptions / Errors
- FirebaseException
- A generic class which provides exceptions in a Firebase-friendly format to users.