<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [OAuthCredential](./auth.oauthcredential.md) &gt; [accessToken](./auth.oauthcredential.accesstoken.md)

## OAuthCredential.accessToken property

The OAuth access token associated with the credential if it belongs to an [OAuthProvider](./auth.oauthprovider.md)<!-- -->, such as `facebook.com`<!-- -->, `twitter.com`<!-- -->, etc.

<b>Signature:</b>

```typescript
accessToken?: string;
```
