Skip to content

react-query-firebase / web/auth / useAuth

Function: useAuth()

ts
function useAuth(): Auth;

Defined in: web/auth/useAuth.ts:9

Custom hook to retrieve the authentication object from the Firebase context.

Returns

Auth

The authentication object from the Firebase context.

Released under the MIT License.