Retrieves the corresponding OAuth access token for a user that has previously authenticated with a particular OAuth provider. Returns a PaginatedResourceResponse object with a data property that contains an array of OauthAccessToken objects, and a totalCount property that indicates the total number of OAuth access tokens in the system for the specified user and provider.
You can also explore the example that demonstrates how this method retrieves a social provider's OAuth access token, enabling access to user data from both the provider and Clerk.
This method in the SDK is a wrapper around the BAPI endpoint GET/users/{user_id}/oauth_access_tokens/{provider}. See the BAPI reference for more information.