veritatisdoloremque
Version:
Monorepo for the Firebase JavaScript SDK
23 lines (14 loc) • 965 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth-types](./auth-types.md) > [PhoneAuthCredential](./auth-types.phoneauthcredential.md)
## PhoneAuthCredential class
Interface that represents the credentials returned by a [PhoneAuthProvider](./auth.phoneauthprovider.md)<!-- -->.
<b>Signature:</b>
```typescript
export abstract class PhoneAuthCredential extends AuthCredential
```
<b>Extends:</b> [AuthCredential](./auth-types.authcredential.md)
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [fromJSON(json)](./auth-types.phoneauthcredential.fromjson.md) | <code>static</code> | Static method to deserialize a JSON representation of an object into an [AuthCredential](./auth-types.authcredential.md)<!-- -->. |
| [toJSON()](./auth-types.phoneauthcredential.tojson.md) | | Returns a JSON-serializable representation of this object. |