tickethead-sdk
Version:
SDK for the Tickethead API
16 lines • 595 B
TypeScript
import { KeyPair } from '..';
import { Jwt } from '../auth/types';
import { AuthService } from '../auth';
import { ICredential } from './credential';
export declare class WalletCredentials implements ICredential {
private keyPair;
readonly type: "Wallet";
private jwt?;
private organizer?;
constructor(keyPair: KeyPair);
getToken(): Jwt;
authorize(authService: AuthService, organizer?: string): Promise<Jwt>;
refreshToken(authService: AuthService, organizer?: string): Promise<Jwt>;
isRefreshable(): boolean;
}
//# sourceMappingURL=wallet-credentials.d.ts.map