0.1.2 • Published 3 months ago

@rlanz/ally-twitch v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

@rlanz/ally-twitch is a Twitch driver for AdonisJS Ally.

Getting Started

This package is available in the npm registry.

npm install @rlanz/ally-twitch

Next, configure the package by running the following command.

node ace configure @rlanz/ally-twitch

Then register the service inside the configuration file config/ally.ts.

// config/ally.ts
import { defineConfig } from '@adonisjs/ally';
import { twitch } from '@rlanz/ally-twitch'
import env from '#start/env';

const allyConfig = defineConfig({
  twitch: twitch({
    clientId: env.get('TWITCH_CLIENT_ID'),
    clientSecret: env.get('TWITCH_CLIENT_SECRET'),
    callbackUrl: env.get('TWITCH_CALLBACK_URL'),
    scopes: ['user:read:email']
  }),
})
0.1.2

3 months ago

0.1.1

4 months ago

0.1.0

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago