UNPKG

electron-oauth-helper

Version:

Easy to use helper library for OAuth1 and OAuth2.

9 lines 783 B
import { OAuthConfigType, AuthorizationCodeGrantConfig, ClientCredentialsGrantConfig, ResourceOwnerPasswordCredentialsGrantConfig, ImplicitGrantConfig } from "../"; import { TaskFunction } from "./tasks"; export declare const authorizationCodeFlowTask: TaskFunction<AuthorizationCodeGrantConfig>; export declare const implicitFlowTask: TaskFunction<ImplicitGrantConfig>; export declare const resourceOwnerPasswordCredentialsFlowTask: TaskFunction<ResourceOwnerPasswordCredentialsGrantConfig>; export declare const clientCredentialsFlowTask: TaskFunction<ClientCredentialsGrantConfig>; export declare const validate: (config: OAuthConfigType) => Error | undefined; export declare const needWindowForGrantType: (config: OAuthConfigType) => boolean; //# sourceMappingURL=helper.d.ts.map