@accounts/oauth-twitter
Version:
10 lines (9 loc) • 400 B
TypeScript
import { type Configuration } from './types/configuration';
import { type OAuthProvider, type OAuthUser } from '@accounts/oauth';
export declare class AccountsOAuthTwitter implements OAuthProvider {
private config;
private oauth;
getRegistrationPayload?: (oauthUser: OAuthUser) => Promise<any>;
constructor(config: Configuration);
authenticate(params: any): Promise<OAuthUser>;
}