google-auth-scopes

1.0.1 • Public • Published

google-auth-scopes-list

Intro

Easily setup auto suggest when typed as ScopeListType

auto suggest

This repo is basically an array of google authorization scopes with a bit of typescript to give you autosuggest

It was obtained from the google documentation page here: https://developers.google.com/identity/protocols/oauth2/scopes

Basic Code Example

Install

npm install google-auth-scopes --save-dev

Import

// example.ts

import { ScopeListType } from "google-auth-scopes";

const scopes: ScopeListType = [
  "https://www.googleapis.com/auth/userinfo.email",
  "https://www.googleapis.com/auth/userinfo.profile",
];

Package Sidebar

Install

npm i google-auth-scopes

Weekly Downloads

28

Version

1.0.1

License

ISC

Unpacked Size

318 kB

Total Files

4

Last publish

Collaborators

  • mrdobson