UNPKG

weightxreps-oauth

Version:

Module to let your javascript app get user's credentials of [weightxreps.net](https://weightxreps.net/). It only focus on obtaining a valid access token, you are then responsible of adding it to your request's headers when connecting to the GraphQL endpoi

4 lines (3 loc) 163 B
import { OAuthClient } from "./oauth/OauthClient"; import { useWeightxrepsOAuth } from "./oauth/useWeightxrepsOAuth"; export { useWeightxrepsOAuth, OAuthClient };