<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [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)

