UNPKG

rcs-sdk

Version:

封装客户端与平台间的相互调用功能。

11 lines (10 loc) 394 B
import { SdkResult } from '../types'; export declare class AccessToken { private access_token; private expire_at; constructor(token: any, term: any); get value(): string; get expireAt(): number; } export declare function getToken(username: string, password: string): Promise<AccessToken>; export declare function login(userid: string, password: string): Promise<SdkResult>;