@absolutejs/auth 0.48.0 → 0.48.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -812,6 +812,27 @@ var providers = defineProviders({
812
812
  url: "https://www.bungie.net/Platform/App/OAuth/token"
813
813
  }
814
814
  },
815
+ calendly: {
816
+ authorizationUrl: "https://auth.calendly.com/oauth/authorize",
817
+ email: ["resource", "email"],
818
+ fullName: ["resource", "name"],
819
+ isOIDC: false,
820
+ isRefreshable: true,
821
+ profileRequest: {
822
+ authIn: "header",
823
+ encoding: "application/json",
824
+ method: "GET",
825
+ url: "https://api.calendly.com/users/me"
826
+ },
827
+ scopeRequired: false,
828
+ subject: ["resource", "uri"],
829
+ subjectType: "string",
830
+ tokenRequest: {
831
+ authIn: "body",
832
+ encoding: "application/x-www-form-urlencoded",
833
+ url: "https://auth.calendly.com/oauth/token"
834
+ }
835
+ },
815
836
  close: {
816
837
  authorizationUrl: "https://app.close.com/oauth2/authorize/",
817
838
  isOIDC: false,
@@ -1811,6 +1832,33 @@ var providers = defineProviders({
1811
1832
  url: "https://slack.com/api/openid.connect.token"
1812
1833
  }
1813
1834
  },
1835
+ slackuser: {
1836
+ accessTokenPath: ["authed_user", "access_token"],
1837
+ authorizationUrl: "https://slack.com/oauth/v2/authorize",
1838
+ isOIDC: false,
1839
+ isRefreshable: false,
1840
+ profileRequest: {
1841
+ authIn: "header",
1842
+ encoding: "application/json",
1843
+ method: "POST",
1844
+ url: "https://slack.com/api/auth.test"
1845
+ },
1846
+ revocationRequest: {
1847
+ authIn: "body",
1848
+ encoding: "application/json",
1849
+ tokenParamName: "token",
1850
+ url: "https://slack.com/api/auth.revoke"
1851
+ },
1852
+ scopeParamName: "user_scope",
1853
+ scopeRequired: true,
1854
+ subject: ["user_id"],
1855
+ subjectType: "string",
1856
+ tokenRequest: {
1857
+ authIn: "body",
1858
+ encoding: "application/x-www-form-urlencoded",
1859
+ url: "https://slack.com/api/oauth.v2.access"
1860
+ }
1861
+ },
1814
1862
  spotify: {
1815
1863
  authorizationUrl: "https://accounts.spotify.com/authorize",
1816
1864
  isOIDC: false,
@@ -3138,5 +3186,5 @@ var main = async () => {
3138
3186
  };
3139
3187
  await main();
3140
3188
 
3141
- //# debugId=474CAAFC16D5EDB764756E2164756E21
3189
+ //# debugId=E26FF9BDE963CA5264756E2164756E21
3142
3190
  //# sourceMappingURL=migrate.js.map