Skip to content

Commit 3335868

Browse files
chore: fix casings (#10782)
1 parent 7a6be15 commit 3335868

File tree

26 files changed

+70
-70
lines changed

26 files changed

+70
-70
lines changed

apps/examples/express/src/config/auth.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Discord from "@auth/express/providers/discord"
88
import Dropbox from "@auth/express/providers/dropbox"
99
import Facebook from "@auth/express/providers/facebook"
1010
import GitHub from "@auth/express/providers/github"
11-
import Gitlab from "@auth/express/providers/gitlab"
11+
import GitLab from "@auth/express/providers/gitlab"
1212
import Google from "@auth/express/providers/google"
1313
import Hubspot from "@auth/express/providers/hubspot"
1414
import Keycloak from "@auth/express/providers/keycloak"
@@ -46,7 +46,7 @@ export const authConfig = {
4646
Dropbox,
4747
Facebook,
4848
GitHub,
49-
Gitlab,
49+
GitLab,
5050
Google,
5151
Hubspot,
5252
Keycloak,

apps/examples/nextjs-pages/auth.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import NextAuth from "next-auth"
2222
// import Freshbooks from "next-auth/providers/freshbooks"
2323
// import Fusionauth from "next-auth/providers/fusionauth"
2424
import GitHub from "next-auth/providers/github"
25-
// import Gitlab from "next-auth/providers/gitlab"
25+
// import GitLab from "next-auth/providers/gitlab"
2626
// import Google from "next-auth/providers/google"
2727
// import Hubspot from "next-auth/providers/hubspot"
2828
// import Instagram from "next-auth/providers/instagram"
@@ -55,7 +55,7 @@ import GitHub from "next-auth/providers/github"
5555
// import UnitedEffects from "next-auth/providers/united-effects"
5656
// import Vk from "next-auth/providers/vk"
5757
// import Wikimedia from "next-auth/providers/wikimedia"
58-
// import Wordpress from "next-auth/providers/wordpress"
58+
// import WordPress from "next-auth/providers/wordpress"
5959
// import WorkOS from "next-auth/providers/workos"
6060
// import Yandex from "next-auth/providers/yandex"
6161
// import Zitadel from "next-auth/providers/zitadel"
@@ -91,7 +91,7 @@ export const config = {
9191
// Freshbooks,
9292
// Fusionauth,
9393
GitHub,
94-
// Gitlab,
94+
// GitLab,
9595
// Google,
9696
// Hubspot,
9797
// Instagram,
@@ -124,7 +124,7 @@ export const config = {
124124
// UnitedEffects,
125125
// Vk,
126126
// Wikimedia,
127-
// Wordpress,
127+
// WordPress,
128128
// WorkOS,
129129
// Yandex,
130130
// Zitadel,

apps/examples/nextjs/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Discord from "next-auth/providers/discord"
1010
import Dropbox from "next-auth/providers/dropbox"
1111
import Facebook from "next-auth/providers/facebook"
1212
import GitHub from "next-auth/providers/github"
13-
import Gitlab from "next-auth/providers/gitlab"
13+
import GitLab from "next-auth/providers/gitlab"
1414
import Google from "next-auth/providers/google"
1515
import Hubspot from "next-auth/providers/hubspot"
1616
import Keycloak from "next-auth/providers/keycloak"
@@ -50,7 +50,7 @@ export const config = {
5050
Dropbox,
5151
Facebook,
5252
GitHub,
53-
Gitlab,
53+
GitLab,
5454
Google,
5555
Hubspot,
5656
Keycloak,

apps/examples/sveltekit/src/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Discord from "@auth/sveltekit/providers/discord"
99
import Dropbox from "@auth/sveltekit/providers/dropbox"
1010
import Facebook from "@auth/sveltekit/providers/facebook"
1111
import GitHub from "@auth/sveltekit/providers/github"
12-
import Gitlab from "@auth/sveltekit/providers/gitlab"
12+
import GitLab from "@auth/sveltekit/providers/gitlab"
1313
import Google from "@auth/sveltekit/providers/google"
1414
import Hubspot from "@auth/sveltekit/providers/hubspot"
1515
import Keycloak from "@auth/sveltekit/providers/keycloak"
@@ -48,7 +48,7 @@ export const { handle, signIn, signOut } = SvelteKitAuth({
4848
Dropbox,
4949
Facebook,
5050
GitHub,
51-
Gitlab,
51+
GitLab,
5252
Google,
5353
Hubspot,
5454
Keycloak,

apps/playgrounds/nuxt/lib/auth/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function signIn<
4242
const _signInUrl = `${signInUrl}?${new URLSearchParams(authorizationParams)}`
4343

4444
// TODO: Handle custom base path
45-
// TODO: Remove this since Sveltekit offers the CSRF protection via origin check
45+
// TODO: Remove this since SvelteKit offers the CSRF protection via origin check
4646
const { csrfToken } = await $fetch<{ csrfToken: string }>("/api/auth/csrf")
4747

4848
console.log(_signInUrl)
@@ -84,7 +84,7 @@ export async function signIn<
8484
export async function signOut(options?: SignOutParams) {
8585
const { callbackUrl = window.location.href } = options ?? {}
8686
// TODO: Custom base path
87-
// TODO: Remove this since Sveltekit offers the CSRF protection via origin check
87+
// TODO: Remove this since SvelteKit offers the CSRF protection via origin check
8888
const csrfTokenResponse = await fetch("/api/auth/csrf")
8989
const { csrfToken } = await csrfTokenResponse.json()
9090
const res = await fetch(`/api/auth/signout`, {

apps/proxy/api/[auth].ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Discord from "@auth/core/providers/discord"
99
import Dropbox from "@auth/core/providers/dropbox"
1010
import Facebook from "@auth/core/providers/facebook"
1111
import GitHub from "@auth/core/providers/github"
12-
import Gitlab from "@auth/core/providers/gitlab"
12+
import GitLab from "@auth/core/providers/gitlab"
1313
import Google from "@auth/core/providers/google"
1414
import Hubspot from "@auth/core/providers/hubspot"
1515
import Keycloak from "@auth/core/providers/keycloak"
@@ -46,7 +46,7 @@ const authConfig: AuthConfig = {
4646
Dropbox,
4747
Facebook,
4848
GitHub,
49-
Gitlab,
49+
GitLab,
5050
Google,
5151
Hubspot,
5252
Keycloak,

docs/components/HeroCode/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Image from "next/image"
33
import { RichTabs } from "@/components/RichTabs"
44
import SvelteKit from "../../public/img/etc/sveltekit.svg"
55
import Express from "../../public/img/etc/express.svg"
6-
import NextJs from "../../public/img/etc/nextjs.svg"
6+
import Next from "../../public/img/etc/nextjs.svg"
77
import { CaretRight } from "@/icons"
88

99
export function HeroCode({ children }) {
@@ -23,7 +23,7 @@ export function HeroCode({ children }) {
2323
>
2424
<Image
2525
width="24"
26-
src={NextJs}
26+
src={Next}
2727
alt="Next.js"
2828
className="dark:invert"
2929
/>

docs/pages/getting-started/adapters/neo4j.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The following relationships and relationship labels are used.
118118

119119
#### Properties
120120

121-
This schema is adapted for use in Neo4J and is based upon our main [models](https://authjs.dev/reference/core/adapters#models). Please check there for the node properties. Relationships have no properties.
121+
This schema is adapted for use in Neo4j and is based upon our main [models](https://authjs.dev/reference/core/adapters#models). Please check there for the node properties. Relationships have no properties.
122122

123123
#### Indexes
124124

docs/pages/getting-started/deployment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Accordion, Accordions } from "@/components/Accordion"
1111
distinguished from other environment variables more easily.
1212
</Callout>
1313

14-
Auth.js libraries require you to set an `AUTH_SECRET` environment variable. This is used to encrypt cookies and tokens. It should be a random string of at least 32 characters. On Unix based systems you can use this command:
14+
Auth.js libraries require you to set an `AUTH_SECRET` environment variable. This is used to encrypt cookies and tokens. It should be a random string of at least 32 characters. On UNIX based systems you can use this command:
1515

1616
```bash npm2yarn
1717
npm exec auth secret

docs/pages/getting-started/providers/gitlab.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ AUTH_GITLAB_SECRET
4444

4545
```ts filename="/auth.ts"
4646
import NextAuth from "next-auth"
47-
import Gitlab from "next-auth/providers/gitlab"
47+
import GitLab from "next-auth/providers/gitlab"
4848

4949
export const { handlers, auth, signIn, signOut } = NextAuth({
50-
providers: [Gitlab],
50+
providers: [GitLab],
5151
})
5252
```
5353

@@ -56,10 +56,10 @@ export const { handlers, auth, signIn, signOut } = NextAuth({
5656

5757
```ts filename="/src/auth.ts"
5858
import { SvelteKitAuth } from "@auth/sveltekit"
59-
import Gitlab from "@auth/sveltekit/providers/gitlab"
59+
import GitLab from "@auth/sveltekit/providers/gitlab"
6060

6161
export const { handle, signIn, signOut } = SvelteKitAuth({
62-
providers: [Gitlab],
62+
providers: [GitLab],
6363
})
6464
```
6565

@@ -68,9 +68,9 @@ export const { handle, signIn, signOut } = SvelteKitAuth({
6868

6969
```ts filename="/src/app.ts"
7070
import { ExpressAuth } from "@auth/express"
71-
import Gitlab from "@auth/express/providers/gitlab"
71+
import GitLab from "@auth/express/providers/gitlab"
7272

73-
app.use("/auth/*", ExpressAuth({ providers: [Gitlab] }))
73+
app.use("/auth/*", ExpressAuth({ providers: [GitLab] }))
7474
```
7575

7676
</Code.Express>

0 commit comments

Comments
 (0)