Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 855 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 855 Bytes

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)
})()