voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 568 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [getAuth](./auth.getauth.md)
## getAuth() function
Initializes an Auth instance with platform specific default dependencies.
<b>Signature:</b>
```typescript
export declare function getAuth(app?: FirebaseApp): Auth;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| app | [FirebaseApp](./app.firebaseapp.md) | The Firebase App. |
<b>Returns:</b>
[Auth](./auth.auth.md)