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

0.1.0 • Public • Published

Adonis Ally Yandex Driver

A driver of AdonisJS Ally for Yandex

Installation

Make sure to install it using npm or yarn.

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

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

Open a instructions.md file after configure

Usage

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

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

For TypeScript projects add to tsconfig.json file:

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

More about AdonisJS Ally and as usage this driver

An available configuration options

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

    display: 'popup',
    optionalScopes: ['login:birthday', '...other'],
    forceConfirm: true
  },
}

Package Sidebar

Install

npm i adonis-ally-yandex

Weekly Downloads

25

Version

0.1.0

License

MIT

Unpacked Size

18.2 kB

Total Files

10

Last publish

Collaborators

  • lookingit