1.1.4 • Published 3 years ago

letmeauth v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

A modern and easy login API which support rich method letmeauth.xyz

Requirement

  • Node.js 16.9.0 or higher

Installation

npm install letmeauth

Example

const letmeauth = require('letmeauth');

// check token and return user json
letmeauth.checkToken({ 
    token: '',
    app_id: '',
    client_secret: ''
})
.then((res)=>{
    console.log(res)
})

// get Oauth2 URL
letmeauth.getOauth2URL({
    app_id: '',
    callback: '',
    scopes: ["email", "identify", "socialnetwork"],
    prompt: 'none',
    response_type: 'code'
}).then((res)=>{
    console.log(res)
})
1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago