3.0.3 • Published 2 years ago

discord-oauth2-utils v3.0.3

Weekly downloads
-
License
MIT license
Repository
github
Last release
2 years ago

npm:
https://www.npmjs.com/package/discord-oauth2-utils

const client = new OAuth({
  clientId,
  clientSecret,
  redirectUri,
  scopes: ["identify"],
});
const auth = client.authorizationLink();

const {access_token} = await client.requestToken(code);
const user_raw = await client.fetchUser(access_token);
const guilds_raw = await client.fetchGuilds(access_token);
3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.1-8

3 years ago

2.1.1-7

3 years ago

2.1.1-9

3 years ago

2.1.3-0

3 years ago

2.1.2-0

3 years ago

2.1.0

3 years ago

2.1.4-0

3 years ago

2.1.3-1

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago