Options
All
  • Public
  • Public/Protected
  • All
Menu

Module useGoogleAuth

Index

Type aliases

Functions

Type aliases

GoogleAuthValue

GoogleAuthValue: { error: Error | null; googleAuth: gapi.auth2.GoogleAuth | null; isSignedIn: boolean }

Type declaration

  • error: Error | null

    Any error from loading the GoogleAuth object

  • googleAuth: gapi.auth2.GoogleAuth | null

    GoogleAuth is a singleton class that provides methods to allow the user to sign in with a Google account, get the user's current sign-in status, get specific data from the user's Google profile, request additional scopes, and sign out from the current account.

  • isSignedIn: boolean

    Returns whether the current user is currently signed in.

Functions

Const useGoogleAuth

Generated using TypeDoc