3.0.3 • Published 1 year ago

discord-oauth2-utils v3.0.3

Weekly downloads
-
License
MIT license
Repository
github
Last release
1 year 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

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.1.1-8

2 years ago

2.1.1-7

2 years ago

2.1.1-9

2 years ago

2.1.3-0

2 years ago

2.1.2-0

2 years ago

2.1.0

2 years ago

2.1.4-0

2 years ago

2.1.3-1

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago