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