adonis-ally-vk
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Adonis Ally Vk Driver

A driver of AdonisJS Ally for vk.com (vkontakte)

Installation

Make sure to install it using npm or yarn.

# npm
npm i adonis-ally-vk
node ace configure adonis-ally-vk

# yarn
yarn add adonis-ally-vk
node ace configure adonis-ally-vk

Open a instructions.md file after configure

Usage

Make sure to register the provider inside .adonisrc.json file.

{
  "providers": [
    "...other packages",
    "adonis-ally-vk"
  ] 
}

For TypeScript projects add to tsconfig.json file:

{
  "compilerOptions": {
    "types": [
      "...other packages",
      "adonis-ally-vk"
    ]
  } 
}

More about AdonisJS Ally and as usage this driver

An available configuration options

const allyConfig: AllyConfig = {
  // ... other drivers
  vk: {
    // ... config

    display: 'page',
    scopes: ['email', '...other'],
    fields: ['screen_name', 'bdate', '...other']
  },
}

Package Sidebar

Install

npm i adonis-ally-vk

Weekly Downloads

21

Version

0.1.1

License

MIT

Unpacked Size

18.1 kB

Total Files

10

Last publish

Collaborators

  • lookingit