UNPKG

@ioloco/oauth

Version:

OAuth 2.0 utility library that provides helper functions for integrating third-party login providers. Designed to simplify the token exchange and user-fetch flows, while leaving API route implementation to the developer.

6 lines (5 loc) 165 B
export declare function fetchOAuthUser({ userUrl, accessToken, tokenType }: { userUrl: string; accessToken: string; tokenType: string; }): Promise<any>;