integreat-authenticator-oauth2
Version:
OAuth 2.0 authenticator for Integreat
4 lines (3 loc) • 313 B
TypeScript
import type { Action, HandlerDispatch } from 'integreat';
import type { AuthOptions, Authentication } from './types.js';
export default function authenticate(options: Partial<AuthOptions> | null, _action: Action | null, _dispatch: HandlerDispatch, authentication: Authentication | null): Promise<Authentication>;