Skip to content

Commit

Permalink
fix no h1 in node sdk v7.2.X
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Mistry committed Jun 15, 2022
1 parent 0fd1439 commit f7155bc
Show file tree
Hide file tree
Showing 47 changed files with 52 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: createResetPasswordToken
hide_title: true
---

## ``createResetPasswordToken(userId)``
# ``createResetPasswordToken(userId)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserByEmail
hide_title: true
---

## ``getUserByEmail(email)``
# ``getUserByEmail(email)``

### Parameters
- ``email``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserById
hide_title: true
---

## ``getUserById(userId)``
# ``getUserById(userId)``

### Parameters
- ``userId``
Expand Down
2 changes: 2 additions & 0 deletions v2/nodejs_versioned_docs/version-7.2.X/emailpassword/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: init
hide_title: true
---

# init

```tsx
EmailPassword.init({
signUpFeature?: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: resetPasswordUsingToken
hide_title: true
---

## `resetPasswordUsingToken(token, newPassword)`
# `resetPasswordUsingToken(token, newPassword)`

### Parameters
- ``token``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: signIn
hide_title: true
---

## ``signIn(email, password)``
# ``signIn(email, password)``

### Parameters
- ``email``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: signUp
hide_title: true
---

## ``signUp(email, password)``
# ``signUp(email, password)``

### Parameters
- ``email``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateEmailOrPassword
hide_title: true
---

## ``updateEmailOrPassword(input: {userId: string, email?: string, password?: string})``
# ``updateEmailOrPassword(input: {userId: string, email?: string, password?: string})``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: createEmailVerificationToken
hide_title: true
---

## ``createEmailVerificationToken(userId)``
# ``createEmailVerificationToken(userId)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: isEmailVerified
hide_title: true
---

## ``isEmailVerified(userId)``
# ``isEmailVerified(userId)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeEmailVerificationTokens
hide_title: true
---

## ``revokeEmailVerificationTokens(userId)``
# ``revokeEmailVerificationTokens(userId)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: unverifyEmail
hide_title: true
---

## ``unverifyEmail(userId)``
# ``unverifyEmail(userId)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: verifyEmailUsingToken
hide_title: true
---

## ``verifyEmailUsingToken(token)``
# ``verifyEmailUsingToken(token)``

### Parameters
- ``token``
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs_versioned_docs/version-7.2.X/getusercount.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hide_title: true
This function is applicable only for core versions >= `3.5`
:::

## ``getUserCount()``
# ``getUserCount()``

### Parameters
- none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hide_title: true
This function is applicable only for core versions >= `3.5`
:::

## ``getUsersNewestFirst({limit?, paginationToken?, includeRecipeIds?})``
# ``getUsersNewestFirst({limit?, paginationToken?, includeRecipeIds?})``

### Parameters
- ``limit`` (Optional)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hide_title: true
This function is applicable only for core versions >= `3.5`
:::

## ``getUsersOldestFirst({limit?, paginationToken?, includeRecipeIds?})``
# ``getUsersOldestFirst({limit?, paginationToken?, includeRecipeIds?})``

### Parameters
- ``limit`` (Optional)
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs_versioned_docs/version-7.2.X/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import GuidesLink from "/src/components/guidesLink"

## `Supertokens.init(config)`
# `Supertokens.init(config)`

In your `index.js`, you need to call the `Supertokens.init` function to initialise SuperTokens. You can provide it the following config:

Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs_versioned_docs/version-7.2.X/jwt/createJWT.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: createJWT
hide_title: true
---

## `createJWT(payload, validitySeconds)`
# `createJWT(payload, validitySeconds)`

### Parameters
- `payload` (Optional)
Expand Down
2 changes: 1 addition & 1 deletion v2/nodejs_versioned_docs/version-7.2.X/jwt/getJWKS.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getJWKS
hide_title: true
---

## `getJWKS()`
# `getJWKS()`

### Returns
```ts
Expand Down
2 changes: 2 additions & 0 deletions v2/nodejs_versioned_docs/version-7.2.X/jwt/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: init
hide_title: true
---

# init

```tsx
JWT.init({
jwtValiditySeconds?: number,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"

## ``createNewSession(res, userId, jwtPayload, sessionData)``
# ``createNewSession(res, userId, jwtPayload, sessionData)``
### Parameters
<NodeJSFrameworkSubTabs>
<TabItem value="express">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getSessionInformation
hide_title: true
---

## ``getSessionInformation(sessionHandle)``
# ``getSessionInformation(sessionHandle)``

### Parameters
- ``sessionHandle``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getAllSessionHandlesForUser
hide_title: true
---

## ``getAllSessionHandlesForUser(userId)``
# ``getAllSessionHandlesForUser(userId)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This method has been deprecated as of version 6.1.X, use the [getSessionInformat

:::

## ``getJWTPayload(sessionHandle)``
# ``getJWTPayload(sessionHandle)``

### Parameters
- ``sessionHandle``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"

## ``getSession(req, res, options)``
# ``getSession(req, res, options)``
### Parameters
<NodeJSFrameworkSubTabs>
<TabItem value="express">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This method has been deprecated as of version 6.1.X, use the [getSessionInformat

:::

## ``getSessionData(sessionHandle)``
# ``getSessionData(sessionHandle)``

### Parameters
- ``sessionHandle``
Expand Down
2 changes: 2 additions & 0 deletions v2/nodejs_versioned_docs/version-7.2.X/session/init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: init
hide_title: true
---

# init

```tsx
Session.init({
cookieSecure?: boolean,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide_title: true

import NodeJSFrameworkSubTabs from "/src/components/tabs/NodeJSFrameworkSubTabs"

## ``refreshSession(req, res)``
# ``refreshSession(req, res)``
### Parameters
### Parameters
<NodeJSFrameworkSubTabs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeAllSessionsForUser
hide_title: true
---

## ``revokeAllSessionsForUser(userId) ``
# ``revokeAllSessionsForUser(userId) ``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeMultipleSessions
hide_title: true
---

## ``revokeMultipleSessions(sessionHandles)``
# ``revokeMultipleSessions(sessionHandles)``

### Parameters
- ``sessionHandles``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeSession
hide_title: true
---

## ``revokeSession(sessionHandle)``
# ``revokeSession(sessionHandle)``

### Parameters
- ``userId``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getExpiry
hide_title: true
---

## ``getExpiry()``
# ``getExpiry()``

### Parameters
- none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getTimeCreated
hide_title: true
---

## ``getTimeCreated()``
# ``getTimeCreated()``

### Parameters
- none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getJWTPayload
hide_title: true
---

## ``getJWTPayload()``
# ``getJWTPayload()``

### Parameters
- none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getSessionData
hide_title: true
---

## ``getSessionData()``
# ``getSessionData()``

### Parameters
- none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserId
hide_title: true
---

## ``getUserId()``
# ``getUserId()``

### Parameters
- none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: revokeSession
hide_title: true
---

## ``revokeSession()``
# ``revokeSession()``

### Parameters
- none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateJWTPayload
hide_title: true
---

## ``updateJWTPayload(data)``
# ``updateJWTPayload(data)``

### Parameters
- ``data``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateSessionData
hide_title: true
---

## ``updateSessionData(data)``
# ``updateSessionData(data)``

### Parameters
- ``data``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateJWTPayload
hide_title: true
---

## ``updateJWTPayload(sessionHandle, newJWTPayload)``
# ``updateJWTPayload(sessionHandle, newJWTPayload)``

### Parameters
- ``sessionHandle``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: updateSessionData
hide_title: true
---

## ``updateSessionData(sessionHandle, newSessionData)``
# ``updateSessionData(sessionHandle, newSessionData)``

### Parameters
- `sessionHandle`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserById
hide_title: true
---

## `getUserById(userId)`
# `getUserById(userId)`

### Parameters
- `userId`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUserByThirdPartyInfo
hide_title: true
---

## `getUserByThirdPartyInfo(thirdPartyId, thirdPartyUserId)`
# `getUserByThirdPartyInfo(thirdPartyId, thirdPartyUserId)`

### Parameters
- `thirdPartyId`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: getUsersByEmail
hide_title: true
---

## `getUsersByEmail(email)`
# `getUsersByEmail(email)`

### Parameters
- `email`
Expand Down
Loading

0 comments on commit f7155bc

Please sign in to comment.