tickethead-sdk
Version:
SDK for the Tickethead API
14 lines • 609 B
TypeScript
import { AuthService } from '../auth';
import { ICredential } from './credential';
import { RefreshableJwt, UserPassword } from '..';
export declare class PasswordCredentials implements ICredential {
private credentials?;
private jwt?;
readonly type: "Password";
constructor(credentials?: UserPassword);
getToken(): RefreshableJwt;
authorize(authService: AuthService, organizer?: string): Promise<RefreshableJwt>;
refreshToken(authService: AuthService, organizer?: string): Promise<RefreshableJwt>;
isRefreshable(): boolean;
}
//# sourceMappingURL=password-credentials.d.ts.map