flickr-sdk
Version:
Almost certainly the best Flickr API client in the world for node and the browser
19 lines (18 loc) • 571 B
TypeScript
import type { Auth, Transport } from "../types";
export declare class OAuthService {
private transport;
private auth;
constructor(transport: Transport, auth: Auth);
request(callbackUrl: string): Promise<{
requestToken: string;
requestTokenSecret: string;
}>;
verify(oauthVerifier: string): Promise<{
nsid: string;
oauthToken: string;
oauthTokenSecret: string;
username: string;
fullname: string;
}>;
authorizeUrl(requestToken: string, perms?: "read" | "write" | "delete"): string;
}