Skip to content

lolitaframework/telegram-checking-authorization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

telegram-checking-authorization

GitHub license

Check Telegram Login Widget hash manually

Installation

Install through npm:

npm install --save telegram-checking-authorization

Usage

Use it in your app like so:

import telegramCheckingAuthorization from 'telegram-checking-authorization';

if(telegramCheckingAuthorization(data, token)) console.log('Data is from telegram! ;)');
if(!telegramCheckingAuthorization(data, token)) console.log('Data is NOT from telegram :(')

About

Check Telegram Login Widget hash manually [True / False].

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages