@fnlb-project/fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
25 lines (24 loc) • 1 kB
TypeScript
import AuthSession from './AuthSession';
import { AuthSessionType } from '../../resources/enums';
import type Client from '../Client';
import type { EOSDeploymentAuthData } from '../../resources/structs';
declare class EOSDeploymentAuthSession extends AuthSession<AuthSessionType.EOSDeployment> {
nonce: string;
features: string[];
organizationId: string;
productId: string;
sandboxId: string;
deploymentId: string;
organizationUserId: string;
productUserId: string;
productUserIdCreated: boolean;
idToken: string;
refreshTimeout?: NodeJS.Timeout;
constructor(client: Client, data: EOSDeploymentAuthData, clientSecret: string);
verify(): Promise<boolean>;
revoke(): Promise<void>;
refresh(): Promise<void>;
initRefreshTimeout(): void;
static create(client: Client, clientId: string, clientSecret: string, externalAuthToken: string, deploymentId: string): Promise<EOSDeploymentAuthSession>;
}
export default EOSDeploymentAuthSession;