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.

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