Skip to content

Commit

Permalink
Doc updates after merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
dowski committed Dec 10, 2024
1 parent a263ab1 commit 4f4a69f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions docs/pages/api_reference/nextjs/server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ The token if the the client is authenticated, otherwise `undefined`.

<h3 className="nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100 nx-mt-8 nx-text-2xl">Defined in</h3>

[src/nextjs/server/index.tsx:83](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L83)
[src/nextjs/server/index.tsx:85](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L85)

***

Expand All @@ -174,7 +174,7 @@ since they won't stop nested pages from rendering.

<h3 className="nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100 nx-mt-8 nx-text-2xl">Defined in</h3>

[src/nextjs/server/index.tsx:94](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L94)
[src/nextjs/server/index.tsx:96](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L96)

***

Expand Down Expand Up @@ -213,7 +213,7 @@ export function convexAuthNextjsMiddleware(handler, options) {

<h3 className="nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100 nx-mt-8 nx-text-2xl">Defined in</h3>

[src/nextjs/server/index.tsx:113](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L113)
[src/nextjs/server/index.tsx:116](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L116)

***

Expand Down Expand Up @@ -371,7 +371,7 @@ A Next.js middleware.

<h3 className="nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100 nx-mt-8 nx-text-2xl">Defined in</h3>

[src/nextjs/server/index.tsx:124](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L124)
[src/nextjs/server/index.tsx:127](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L127)

***

Expand Down Expand Up @@ -435,7 +435,7 @@ The route path to redirect to.

<h3 className="nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100 nx-mt-8 nx-text-2xl">Defined in</h3>

[src/nextjs/server/index.tsx:272](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L272)
[src/nextjs/server/index.tsx:275](https://github.com/get-convex/convex-auth/blob/main/src/nextjs/server/index.tsx#L275)

***

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/config/oauth/apple.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ written will be retained.
import Apple from "@auth/core/providers/apple";
import { convexAuth } from "@convex-dev/auth/server";

export const { auth, signIn, signOut, store } = convexAuth({
export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({
providers: [
Apple({
profile: (appleInfo) => {
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/config/oauth/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ environment variables above.
import GitHub from "@auth/core/providers/github";
import { convexAuth } from "@convex-dev/auth/server";

export const { auth, signIn, signOut, store } = convexAuth({
export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({
providers: [GitHub],
});
```
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/config/oauth/google.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ environment variables above.
import Google from "@auth/core/providers/google";
import { convexAuth } from "@convex-dev/auth/server";

export const { auth, signIn, signOut, store } = convexAuth({
export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({
providers: [Google],
});
```
Expand Down

0 comments on commit 4f4a69f

Please sign in to comment.