UNPKG

@uprtcl/http-provider

Version:

_Prtcl provider wrappers around the native fetch api

12 lines (11 loc) 461 B
import { AuthTokenStorage } from './http.token.store'; import { HttpAuthentication, JwtToken } from './http.authentication'; import { HttpConnection } from '../http.connection'; export declare const loginMessage: (nonce: string) => string; export declare class HttpEthToken implements HttpAuthentication { host: any; store: AuthTokenStorage; connection: HttpConnection; constructor(host: any); obtainToken(): Promise<JwtToken>; }