UNPKG

@octokit/auth-oauth-app

Version:

GitHub OAuth App authentication for JavaScript

4 lines (3 loc) 372 B
import type { EndpointOptions, RequestParameters, Route, RequestInterface, OctokitResponse } from "@octokit/types"; import type { OAuthAppState, GitHubAppState } from "./types.js"; export declare function hook(state: OAuthAppState | GitHubAppState, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise<OctokitResponse<any>>;