import { ProviderUser } from "./provider-user"; export type GoogleProviderConfigurations = { /** * Client id */ clientId?: string; /** * Redirect url */ redirectUrl?: string; /** * Scope */ scope?: string; /** * Profile url */ profileUrl?: string; }; export declare class GoogleProvider { /** * scope url */ protected scope: string; /** * Redirect url */ protected redirectUrl: string; /** * profile url */ protected profileUrl: string; /** * Provider name */ provider: string; /** * Client id */ protected clientId: string; /** * User profile instance */ protected data?: ProviderUser; /** * Constructor */ constructor(providerOptions: GoogleProviderConfigurations); /** * Set redirect url */ setRedirectUrl(url: string): this; /** * Get redirect url */ getRedirectUrl(): string; /** * Get profile url */ getProfileUrl(): string; /** * Set profile url */ setProfileUrl(url: string): this; /** * Get scope */ getScope(): string; /** * Set scope */ setScope(scope: string): this; /** * Get client id */ getClientId(): string; /** * Set client id */ setClientId(clientId: string): this; /** * Login */ login(code: string): Promise; /** * Logout the user */ logout(accessToken: string): Promise; } //# sourceMappingURL=google-provider.d.ts.map