UNPKG

@xmobitea/gn-server

Version:

GearN Server by XmobiTea (Pro)

22 lines (21 loc) 672 B
import { IGooglePlayGameService } from "./IGooglePlayGameService"; export declare class GooglePlayGameService implements IGooglePlayGameService { private static readonly googleAPIUrl; private static readonly googleAPITokenUrl; private static readonly googleAPIVerifyUrl; private redirectUri; private clientId; private clientSecret; private applicationId; init(request: { redirectUri: string; clientId: string; clientSecret: string; applicationId: string; }): void; verifyToken(authCode: string): Promise<{ [k: string]: any; }>; private exchangeAccessToken; private getPlayerId; }