diff --git a/app/package-lock.json b/app/package-lock.json index 2957287..e56933c 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "@exweiv/easy-auth", - "version": "0.2.1", + "version": "0.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@exweiv/easy-auth", - "version": "0.2.1", + "version": "0.2.2", "license": "Apache-2.0", "dependencies": { "@exweiv/wix-secret-helpers": "^0.0.5", diff --git a/app/package.json b/app/package.json index a3aa9c1..3149b4b 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "@exweiv/easy-auth", - "version": "0.2.1", + "version": "0.2.2", "description": "Integrate popular OAuth apps with your Wix website easily.", "main": "./lib/index.js", "scripts": { @@ -54,5 +54,5 @@ "typedoc": "^0.25.12", "typedoc-plugin-extras": "^3.0.0" }, - "readme": "../README.md" + "readme": "https://raw.githubusercontent.com/ExWeiv/easy-auth/main/README.md" } \ No newline at end of file diff --git a/docs/functions/discord.getTokens.html b/docs/functions/discord.getTokens.html index d936e58..0907f51 100644 --- a/docs/functions/discord.getTokens.html +++ b/docs/functions/discord.getTokens.html @@ -1,10 +1,10 @@
Options that's used when getting tokens from Discord
-Generated using TypeDoc
+
Generated using TypeDoc
Creates a redirect url for authenticating user via Discord
Options that's used when creating redirect url.
-Generated using TypeDoc
+
Generated using TypeDoc
Gets tokens for API calls to Facebook. Keep in mind Facebook has a different system for tokens. Facebook doesn't have any refresh_tokens instead you exhcnage expired tokens with new ones.
Options that's used when getting tokens from Facebook
-Generated using TypeDoc
+
Generated using TypeDoc
Creates a redirect url for authenticating user via Facebook
Options that's used when creating redirect url.
-Generated using TypeDoc
+
Generated using TypeDoc
Gets tokens for API calls to GitHub. You can refresh expired tokens using refresh tokens.
Options that's used when getting tokens from GitHub
-Generated using TypeDoc
+
Generated using TypeDoc
Creates a redirect url for authenticating user via GitHub
Options that's used when creating redirect url.
-Generated using TypeDoc
+
Generated using TypeDoc
Gets tokens for API calls to Google. You can refresh expired tokens using refresh tokens.
Options that's used when getting tokens from Google
-Generated using TypeDoc
+
Generated using TypeDoc
Creates a redirect url for authenticating user via Google
Options that's used when creating redirect url.
-Generated using TypeDoc
+
Generated using TypeDoc
This function handles the user authentication and returns a session token to be used in the frontend with wix-members-frontend APIs.
Provider you want to use for the process (This function currently does not support Steam)
authUser options for the process related options based on the provider
-Generated using TypeDoc
+
Generated using TypeDoc
Creates a redirect url for authenticating user via Steam
Options that's used when creating redirect url.
-Generated using TypeDoc
+
Generated using TypeDoc
Gets user data from Steam
Options that's used when getting user data from Steam.
Optional
client_secret: stringDefaults to undefined, if you don't pass a client_secret (apiKey) API will use Wix Secret Manager to find client_secret named as SteamClientSecret
.
Generated using TypeDoc
+
Generated using TypeDoc
Read Discord Docs for more info about anything here.
-Generated using TypeDoc
Read Facebook Docs for more info about anything here.
-Generated using TypeDoc
Read GitHub Docs for more info about anything here.
-Generated using TypeDoc
Read Google Docs for more info about anything here.
-Generated using TypeDoc
Helper functions to quickly integrate OAuth providers with Wix Members in backend
-Generated using TypeDoc
Steam itself doesn't provide any OAuth 2.0 or something similar to authenticate users with their APIs. You'll need to implement a secure way to authenticate users via Steam. This isn't a realy OAuth 2.0 method since you won't get any access_token after user sign-in to Steam, what you'll get is users's public Steam ID (number). That you can use to get public info of that user after successful login.
-Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Optional
grant_Generated using TypeDoc
+
Optional
grant_Generated using TypeDoc
-
Optional
prompt?: stringOptional
response_Optional
scope?: string[]Optional
state?: stringGenerated using TypeDoc
+
Optional
prompt?: stringOptional
response_Optional
scope?: string[]Optional
state?: stringGenerated using TypeDoc
-
Optional
code?: stringOptional
grant_Optional
redirect_Optional
refresh_Generated using TypeDoc
+
Optional
code?: stringOptional
grant_Optional
redirect_Optional
refresh_Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Optional
code?: stringOptional
fields?: string[]Generated using TypeDoc
+
Optional
code?: stringOptional
fields?: string[]Generated using TypeDoc
-
Optional
response_Optional
scope?: string[]Optional
state?: stringGenerated using TypeDoc
+
Optional
response_Optional
scope?: string[]Optional
state?: stringGenerated using TypeDoc
-
Optional
code?: stringOptional
fb_Optional
grant_Optional
redirect_Generated using TypeDoc
+
Optional
code?: stringOptional
fb_Optional
grant_Optional
redirect_Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Optional
repository_Generated using TypeDoc
+
Optional
repository_Generated using TypeDoc
-
Optional
allow_Optional
state?: stringGenerated using TypeDoc
+
Optional
allow_Optional
state?: stringGenerated using TypeDoc
-
Optional
code?: stringOptional
grant_Optional
redirect_Optional
refresh_Optional
repository_Generated using TypeDoc
+
Optional
code?: stringOptional
grant_Optional
redirect_Optional
refresh_Optional
repository_Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Optional
grant_Generated using TypeDoc
+
Optional
grant_Generated using TypeDoc
-
Optional
access_Optional
prompt?: stringOptional
response_Optional
scope?: string[]Optional
state?: stringGenerated using TypeDoc
+
Optional
access_Optional
prompt?: stringOptional
response_Optional
scope?: string[]Optional
state?: stringGenerated using TypeDoc
-
Optional
client_Optional
grant_Optional
refresh_Generated using TypeDoc
+
Optional
client_Optional
grant_Optional
refresh_Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Generated using TypeDoc
+
Generated using TypeDoc
-
Optional
state?: string
Gets tokens for API calls to Discord. You can refresh expired tokens using refresh tokens.