Skip to content

classmethod/lifft-up

Repository files navigation

lifft-up

CI status

Let's lift up your LIFF apps 🏋️

Feature collections to realize your creativity.

Getting Started

cd /your/working/dir

npm install @classmethod/lifft-up
// or
yarn add @classmethod/lifft-up

Usage

Authentication by IDToken.

import * as lifftUp from '@classmethod/lifft-up'

(async () => {
 // https://developers.line.biz/en/reference/liff/#get-id-token
 const idToken = <your id token>
 // Specify Liff Channel ID.
 const clientId = <your liff channel id>
 // The IDToken payload will be returned.
 const payload = await lifftUp.authorizer(idToken, clientId)
})()