UNPKG

passport-telegram-web-app

Version:

A [Passport](https://www.passportjs.org/) strategy for [telegram web app (bots)](https://core.telegram.org/bots/webapps) authentication.

9 lines (7 loc) 249 B
import { HashVerifierCallbackFunction } from "./hash-verifier-callback.function"; export type HashVerifierFunction = ( token: string, dataCheckString: string, hash: string, callback: HashVerifierCallbackFunction, ) => void | Promise<void>;