New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ally-blizzard

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ally-blizzard

Ally driver for Blizzard / Battle.net API.

  • 0.1.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

ally-blizzard is a Blizzard/Battle.net driver for AdonisJS Ally.

Getting Started

This package is available in the npm registry.

npm install --save ally-blizzard

Next, configure the package by running the following command.

node ace configure ally-blizzard

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

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

const allyConfig = defineConfig({
  blizzard: blizzard({
    clientId: env.get('BLIZZARD_CLIENT_ID'),
    clientSecret: env.get('BLIZZARD_CLIENT_SECRET'),
    callbackUrl: env.get('BLIZZARD_CALLBACK_URL'),
  }),
})

Scopes

The Blizzard driver exposes the following scopes :

  • wow.profile
  • sc2.profile
  • d3.profile
  • openid

You can configure the scopes by setting the scopes property inside the configuration file config/ally.ts. The default scope is openid. More infos can be found in the official documentation.

Keywords

FAQs

Package last updated on 04 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc