1.0.1 • Published 1 year ago

google-auth-scopes v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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",
];