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

11 lines (10 loc) 308 B
export declare class Store { private store; private k; constructor(namespace: string, store: Storage); getItem(key: string): string; setItem(key: string, val: string): void; getObject(key: string): any; setObject(key: string, obj: object): void; removeItem(key: any): void; }