bam-ticketing-sdk
Version:
SDK for B.A.M Ticketing API
13 lines • 608 B
TypeScript
import { AuthService } from '../auth';
import { ICredential, CredentialType } from './credential';
import { RefreshableJwt, UserPassword } from '..';
export declare class PasswordCredentials implements ICredential {
private credentials?;
private jwt?;
readonly type: CredentialType.Password;
constructor(credentials?: UserPassword);
getToken(): RefreshableJwt;
authorize(authService: AuthService, organizer?: string): Promise<RefreshableJwt>;
refreshToken(authService: AuthService, organizer?: string): Promise<RefreshableJwt>;
}
//# sourceMappingURL=password-credentials.d.ts.map