create-croissant 0.1.8 → 0.1.10
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.
- package/package.json +1 -1
- package/template/apps/web/package.json +2 -0
- package/template/apps/web/src/components/app-sidebar.tsx +43 -28
- package/template/apps/web/src/components/login-form.tsx +96 -49
- package/template/apps/web/src/components/signup-form.tsx +150 -80
- package/template/apps/web/src/routeTree.gen.ts +21 -0
- package/template/apps/web/src/routes/__root.tsx +17 -12
- package/template/apps/web/src/routes/account.tsx +263 -0
- package/template/apps/web/src/routes/client-orpc-auth.tsx +10 -22
- package/template/apps/web/src/routes/client-orpc.tsx +211 -110
- package/template/apps/web/src/routes/dashboard.tsx +3 -3
- package/template/apps/web/src/routes/index.tsx +8 -3
- package/template/apps/web/src/routes/isr.tsx +2 -2
- package/template/apps/web/src/routes/login.tsx +1 -1
- package/template/apps/web/src/routes/signup.tsx +1 -1
- package/template/apps/web/src/routes/ssr-orpc-auth.tsx +2 -2
- package/template/apps/web/src/routes/ssr-orpc.tsx +178 -100
- package/template/package.json +3 -1
- package/template/packages/orpc/src/lib/planets.ts +79 -0
- package/template/packages/orpc/src/lib/router.ts +3 -72
- package/template/apps/web/node_modules/@better-auth/core/LICENSE.md +0 -20
- package/template/apps/web/node_modules/@better-auth/core/README.md +0 -17
- package/template/apps/web/node_modules/@better-auth/core/dist/api/index.d.mts +0 -278
- package/template/apps/web/node_modules/@better-auth/core/dist/api/index.mjs +0 -56
- package/template/apps/web/node_modules/@better-auth/core/dist/async_hooks/index.d.mts +0 -6
- package/template/apps/web/node_modules/@better-auth/core/dist/async_hooks/index.mjs +0 -20
- package/template/apps/web/node_modules/@better-auth/core/dist/async_hooks/pure.index.d.mts +0 -6
- package/template/apps/web/node_modules/@better-auth/core/dist/async_hooks/pure.index.mjs +0 -33
- package/template/apps/web/node_modules/@better-auth/core/dist/context/endpoint-context.d.mts +0 -18
- package/template/apps/web/node_modules/@better-auth/core/dist/context/endpoint-context.mjs +0 -29
- package/template/apps/web/node_modules/@better-auth/core/dist/context/global.d.mts +0 -6
- package/template/apps/web/node_modules/@better-auth/core/dist/context/global.mjs +0 -36
- package/template/apps/web/node_modules/@better-auth/core/dist/context/index.d.mts +0 -5
- package/template/apps/web/node_modules/@better-auth/core/dist/context/index.mjs +0 -5
- package/template/apps/web/node_modules/@better-auth/core/dist/context/request-state.d.mts +0 -27
- package/template/apps/web/node_modules/@better-auth/core/dist/context/request-state.mjs +0 -47
- package/template/apps/web/node_modules/@better-auth/core/dist/context/transaction.d.mts +0 -24
- package/template/apps/web/node_modules/@better-auth/core/dist/context/transaction.mjs +0 -93
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/factory.d.mts +0 -17
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/factory.mjs +0 -754
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-default-field-name.d.mts +0 -18
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-default-field-name.mjs +0 -36
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-default-model-name.d.mts +0 -12
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-default-model-name.mjs +0 -30
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-field-attributes.d.mts +0 -26
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-field-attributes.mjs +0 -37
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-field-name.d.mts +0 -18
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-field-name.mjs +0 -31
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-id-field.d.mts +0 -36
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-id-field.mjs +0 -64
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-model-name.d.mts +0 -12
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/get-model-name.mjs +0 -21
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/index.d.mts +0 -525
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/index.mjs +0 -24
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/types.d.mts +0 -105
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/utils.d.mts +0 -7
- package/template/apps/web/node_modules/@better-auth/core/dist/db/adapter/utils.mjs +0 -37
- package/template/apps/web/node_modules/@better-auth/core/dist/db/get-tables.d.mts +0 -6
- package/template/apps/web/node_modules/@better-auth/core/dist/db/get-tables.mjs +0 -265
- package/template/apps/web/node_modules/@better-auth/core/dist/db/index.d.mts +0 -10
- package/template/apps/web/node_modules/@better-auth/core/dist/db/index.mjs +0 -8
- package/template/apps/web/node_modules/@better-auth/core/dist/db/plugin.d.mts +0 -12
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/account.d.mts +0 -28
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/account.mjs +0 -17
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/rate-limit.d.mts +0 -18
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/rate-limit.mjs +0 -9
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/session.d.mts +0 -23
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/session.mjs +0 -12
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/shared.d.mts +0 -10
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/shared.mjs +0 -9
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/user.d.mts +0 -22
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/user.mjs +0 -11
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/verification.d.mts +0 -21
- package/template/apps/web/node_modules/@better-auth/core/dist/db/schema/verification.mjs +0 -10
- package/template/apps/web/node_modules/@better-auth/core/dist/db/type.d.mts +0 -167
- package/template/apps/web/node_modules/@better-auth/core/dist/env/color-depth.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/core/dist/env/color-depth.mjs +0 -86
- package/template/apps/web/node_modules/@better-auth/core/dist/env/env-impl.d.mts +0 -32
- package/template/apps/web/node_modules/@better-auth/core/dist/env/env-impl.mjs +0 -81
- package/template/apps/web/node_modules/@better-auth/core/dist/env/index.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/core/dist/env/index.mjs +0 -4
- package/template/apps/web/node_modules/@better-auth/core/dist/env/logger.d.mts +0 -48
- package/template/apps/web/node_modules/@better-auth/core/dist/env/logger.mjs +0 -79
- package/template/apps/web/node_modules/@better-auth/core/dist/error/codes.d.mts +0 -68
- package/template/apps/web/node_modules/@better-auth/core/dist/error/codes.mjs +0 -54
- package/template/apps/web/node_modules/@better-auth/core/dist/error/index.d.mts +0 -19
- package/template/apps/web/node_modules/@better-auth/core/dist/error/index.mjs +0 -27
- package/template/apps/web/node_modules/@better-auth/core/dist/index.d.mts +0 -9
- package/template/apps/web/node_modules/@better-auth/core/dist/index.mjs +0 -1
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/api.mjs +0 -12
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/attributes.d.mts +0 -11
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/attributes.mjs +0 -10
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/index.d.mts +0 -3
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/index.mjs +0 -3
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/noop.mjs +0 -42
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/pure.index.d.mts +0 -7
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/pure.index.mjs +0 -7
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/tracer.d.mts +0 -13
- package/template/apps/web/node_modules/@better-auth/core/dist/instrumentation/tracer.mjs +0 -53
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/client-credentials-token.d.mts +0 -56
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/client-credentials-token.mjs +0 -64
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/create-authorization-url.d.mts +0 -44
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/create-authorization-url.mjs +0 -41
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/index.d.mts +0 -8
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/index.mjs +0 -7
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/oauth-provider.d.mts +0 -192
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/refresh-access-token.d.mts +0 -54
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/refresh-access-token.mjs +0 -73
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/utils.d.mts +0 -16
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/utils.mjs +0 -37
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/validate-authorization-code.d.mts +0 -85
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/validate-authorization-code.mjs +0 -79
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/verify.d.mts +0 -42
- package/template/apps/web/node_modules/@better-auth/core/dist/oauth2/verify.mjs +0 -92
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/apple.d.mts +0 -126
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/apple.mjs +0 -107
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/atlassian.d.mts +0 -70
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/atlassian.mjs +0 -80
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/cognito.d.mts +0 -85
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/cognito.mjs +0 -162
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/discord.d.mts +0 -124
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/discord.mjs +0 -62
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/dropbox.d.mts +0 -69
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/dropbox.mjs +0 -72
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/facebook.d.mts +0 -79
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/facebook.mjs +0 -124
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/figma.d.mts +0 -61
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/figma.mjs +0 -83
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/github.d.mts +0 -102
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/github.mjs +0 -92
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/gitlab.d.mts +0 -123
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/gitlab.mjs +0 -79
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/google.d.mts +0 -97
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/google.mjs +0 -109
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/huggingface.d.mts +0 -83
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/huggingface.mjs +0 -73
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/index.d.mts +0 -1834
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/index.mjs +0 -78
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/kakao.d.mts +0 -161
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/kakao.mjs +0 -70
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/kick.d.mts +0 -73
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/kick.mjs +0 -68
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/line.d.mts +0 -105
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/line.mjs +0 -110
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/linear.d.mts +0 -68
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/linear.mjs +0 -85
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/linkedin.d.mts +0 -67
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/linkedin.mjs +0 -73
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/microsoft-entra-id.d.mts +0 -174
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/microsoft-entra-id.mjs +0 -140
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/naver.d.mts +0 -92
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/naver.mjs +0 -65
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/notion.d.mts +0 -64
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/notion.mjs +0 -72
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/paybin.d.mts +0 -71
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/paybin.mjs +0 -81
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/paypal.d.mts +0 -129
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/paypal.mjs +0 -140
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/polar.d.mts +0 -74
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/polar.mjs +0 -71
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/railway.d.mts +0 -65
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/railway.mjs +0 -74
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/reddit.d.mts +0 -62
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/reddit.mjs +0 -80
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/roblox.d.mts +0 -70
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/roblox.mjs +0 -57
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/salesforce.d.mts +0 -79
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/salesforce.mjs +0 -87
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/slack.d.mts +0 -83
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/slack.mjs +0 -66
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/spotify.d.mts +0 -63
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/spotify.mjs +0 -69
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/tiktok.d.mts +0 -168
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/tiktok.mjs +0 -60
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/twitch.d.mts +0 -79
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/twitch.mjs +0 -75
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/twitter.d.mts +0 -126
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/twitter.mjs +0 -85
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/vercel.d.mts +0 -62
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/vercel.mjs +0 -58
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/vk.d.mts +0 -70
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/vk.mjs +0 -81
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/wechat.d.mts +0 -113
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/wechat.mjs +0 -81
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/zoom.d.mts +0 -163
- package/template/apps/web/node_modules/@better-auth/core/dist/social-providers/zoom.mjs +0 -69
- package/template/apps/web/node_modules/@better-auth/core/dist/types/context.d.mts +0 -277
- package/template/apps/web/node_modules/@better-auth/core/dist/types/cookie.d.mts +0 -15
- package/template/apps/web/node_modules/@better-auth/core/dist/types/helper.d.mts +0 -10
- package/template/apps/web/node_modules/@better-auth/core/dist/types/index.d.mts +0 -9
- package/template/apps/web/node_modules/@better-auth/core/dist/types/init-options.d.mts +0 -1358
- package/template/apps/web/node_modules/@better-auth/core/dist/types/plugin-client.d.mts +0 -113
- package/template/apps/web/node_modules/@better-auth/core/dist/types/plugin.d.mts +0 -124
- package/template/apps/web/node_modules/@better-auth/core/dist/types/secret.d.mts +0 -11
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/async.d.mts +0 -22
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/async.mjs +0 -32
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/db.d.mts +0 -9
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/db.mjs +0 -15
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/deprecate.d.mts +0 -9
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/deprecate.mjs +0 -16
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/error-codes.d.mts +0 -13
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/error-codes.mjs +0 -10
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/fetch-metadata.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/fetch-metadata.mjs +0 -6
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/host.d.mts +0 -147
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/host.mjs +0 -291
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/id.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/id.mjs +0 -7
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/ip.d.mts +0 -54
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/ip.mjs +0 -116
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/is-api-error.d.mts +0 -6
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/is-api-error.mjs +0 -8
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/json.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/json.mjs +0 -41
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/string.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/string.mjs +0 -6
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/url.d.mts +0 -20
- package/template/apps/web/node_modules/@better-auth/core/dist/utils/url.mjs +0 -31
- package/template/apps/web/node_modules/@better-auth/core/package.json +0 -193
- package/template/apps/web/node_modules/@better-auth/core/src/api/index.ts +0 -140
- package/template/apps/web/node_modules/@better-auth/core/src/async_hooks/index.ts +0 -40
- package/template/apps/web/node_modules/@better-auth/core/src/async_hooks/pure.index.ts +0 -46
- package/template/apps/web/node_modules/@better-auth/core/src/context/endpoint-context.ts +0 -50
- package/template/apps/web/node_modules/@better-auth/core/src/context/global.ts +0 -57
- package/template/apps/web/node_modules/@better-auth/core/src/context/index.ts +0 -23
- package/template/apps/web/node_modules/@better-auth/core/src/context/request-state.ts +0 -91
- package/template/apps/web/node_modules/@better-auth/core/src/context/transaction.ts +0 -136
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/factory.ts +0 -1440
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/get-default-field-name.ts +0 -59
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/get-default-model-name.ts +0 -51
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/get-field-attributes.ts +0 -62
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/get-field-name.ts +0 -43
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/get-id-field.ts +0 -150
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/get-model-name.ts +0 -36
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/index.ts +0 -567
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/types.ts +0 -132
- package/template/apps/web/node_modules/@better-auth/core/src/db/adapter/utils.ts +0 -61
- package/template/apps/web/node_modules/@better-auth/core/src/db/get-tables.ts +0 -296
- package/template/apps/web/node_modules/@better-auth/core/src/db/index.ts +0 -43
- package/template/apps/web/node_modules/@better-auth/core/src/db/plugin.ts +0 -11
- package/template/apps/web/node_modules/@better-auth/core/src/db/schema/account.ts +0 -47
- package/template/apps/web/node_modules/@better-auth/core/src/db/schema/rate-limit.ts +0 -36
- package/template/apps/web/node_modules/@better-auth/core/src/db/schema/session.ts +0 -29
- package/template/apps/web/node_modules/@better-auth/core/src/db/schema/shared.ts +0 -7
- package/template/apps/web/node_modules/@better-auth/core/src/db/schema/user.ts +0 -28
- package/template/apps/web/node_modules/@better-auth/core/src/db/schema/verification.ts +0 -28
- package/template/apps/web/node_modules/@better-auth/core/src/db/type.ts +0 -333
- package/template/apps/web/node_modules/@better-auth/core/src/env/color-depth.ts +0 -172
- package/template/apps/web/node_modules/@better-auth/core/src/env/env-impl.ts +0 -124
- package/template/apps/web/node_modules/@better-auth/core/src/env/index.ts +0 -23
- package/template/apps/web/node_modules/@better-auth/core/src/env/logger.ts +0 -145
- package/template/apps/web/node_modules/@better-auth/core/src/error/codes.ts +0 -71
- package/template/apps/web/node_modules/@better-auth/core/src/error/index.ts +0 -35
- package/template/apps/web/node_modules/@better-auth/core/src/index.ts +0 -1
- package/template/apps/web/node_modules/@better-auth/core/src/instrumentation/api.ts +0 -17
- package/template/apps/web/node_modules/@better-auth/core/src/instrumentation/attributes.ts +0 -22
- package/template/apps/web/node_modules/@better-auth/core/src/instrumentation/index.ts +0 -2
- package/template/apps/web/node_modules/@better-auth/core/src/instrumentation/noop.ts +0 -74
- package/template/apps/web/node_modules/@better-auth/core/src/instrumentation/pure.index.ts +0 -31
- package/template/apps/web/node_modules/@better-auth/core/src/instrumentation/tracer.ts +0 -95
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/client-credentials-token.ts +0 -126
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/create-authorization-url.ts +0 -89
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/index.ts +0 -33
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/oauth-provider.ts +0 -222
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/refresh-access-token.ts +0 -157
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/utils.ts +0 -51
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/validate-authorization-code.ts +0 -180
- package/template/apps/web/node_modules/@better-auth/core/src/oauth2/verify.ts +0 -221
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/apple.ts +0 -231
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/atlassian.ts +0 -133
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/cognito.ts +0 -281
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/discord.ts +0 -170
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/dropbox.ts +0 -112
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/facebook.ts +0 -215
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/figma.ts +0 -118
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/github.ts +0 -184
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/gitlab.ts +0 -155
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/google.ts +0 -204
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/huggingface.ts +0 -119
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/index.ts +0 -132
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/kakao.ts +0 -179
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/kick.ts +0 -109
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/line.ts +0 -169
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/linear.ts +0 -121
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/linkedin.ts +0 -110
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/microsoft-entra-id.ts +0 -352
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/naver.ts +0 -113
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/notion.ts +0 -108
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/paybin.ts +0 -118
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/paypal.ts +0 -263
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/polar.ts +0 -111
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/railway.ts +0 -100
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/reddit.ts +0 -122
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/roblox.ts +0 -112
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/salesforce.ts +0 -159
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/slack.ts +0 -112
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/spotify.ts +0 -94
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/tiktok.ts +0 -211
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/twitch.ts +0 -112
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/twitter.ts +0 -199
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/vercel.ts +0 -87
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/vk.ts +0 -125
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/wechat.ts +0 -213
- package/template/apps/web/node_modules/@better-auth/core/src/social-providers/zoom.ts +0 -230
- package/template/apps/web/node_modules/@better-auth/core/src/types/context.ts +0 -415
- package/template/apps/web/node_modules/@better-auth/core/src/types/cookie.ts +0 -10
- package/template/apps/web/node_modules/@better-auth/core/src/types/helper.ts +0 -27
- package/template/apps/web/node_modules/@better-auth/core/src/types/index.ts +0 -40
- package/template/apps/web/node_modules/@better-auth/core/src/types/init-options.ts +0 -1610
- package/template/apps/web/node_modules/@better-auth/core/src/types/plugin-client.ts +0 -129
- package/template/apps/web/node_modules/@better-auth/core/src/types/plugin.ts +0 -163
- package/template/apps/web/node_modules/@better-auth/core/src/types/secret.ts +0 -8
- package/template/apps/web/node_modules/@better-auth/core/src/utils/async.ts +0 -53
- package/template/apps/web/node_modules/@better-auth/core/src/utils/db.ts +0 -20
- package/template/apps/web/node_modules/@better-auth/core/src/utils/deprecate.ts +0 -21
- package/template/apps/web/node_modules/@better-auth/core/src/utils/error-codes.ts +0 -68
- package/template/apps/web/node_modules/@better-auth/core/src/utils/fetch-metadata.ts +0 -3
- package/template/apps/web/node_modules/@better-auth/core/src/utils/host.ts +0 -401
- package/template/apps/web/node_modules/@better-auth/core/src/utils/id.ts +0 -5
- package/template/apps/web/node_modules/@better-auth/core/src/utils/ip.ts +0 -211
- package/template/apps/web/node_modules/@better-auth/core/src/utils/is-api-error.ts +0 -10
- package/template/apps/web/node_modules/@better-auth/core/src/utils/json.ts +0 -56
- package/template/apps/web/node_modules/@better-auth/core/src/utils/string.ts +0 -3
- package/template/apps/web/node_modules/@better-auth/core/src/utils/url.ts +0 -43
- package/template/apps/web/node_modules/@better-auth/utils/README.md +0 -384
- package/template/apps/web/node_modules/@better-auth/utils/dist/base32.cjs +0 -104
- package/template/apps/web/node_modules/@better-auth/utils/dist/base32.d.cts +0 -44
- package/template/apps/web/node_modules/@better-auth/utils/dist/base32.d.mts +0 -44
- package/template/apps/web/node_modules/@better-auth/utils/dist/base32.d.ts +0 -44
- package/template/apps/web/node_modules/@better-auth/utils/dist/base32.mjs +0 -101
- package/template/apps/web/node_modules/@better-auth/utils/dist/base64.cjs +0 -80
- package/template/apps/web/node_modules/@better-auth/utils/dist/base64.d.cts +0 -16
- package/template/apps/web/node_modules/@better-auth/utils/dist/base64.d.mts +0 -16
- package/template/apps/web/node_modules/@better-auth/utils/dist/base64.d.ts +0 -16
- package/template/apps/web/node_modules/@better-auth/utils/dist/base64.mjs +0 -77
- package/template/apps/web/node_modules/@better-auth/utils/dist/binary.cjs +0 -16
- package/template/apps/web/node_modules/@better-auth/utils/dist/binary.d.cts +0 -8
- package/template/apps/web/node_modules/@better-auth/utils/dist/binary.d.mts +0 -8
- package/template/apps/web/node_modules/@better-auth/utils/dist/binary.d.ts +0 -8
- package/template/apps/web/node_modules/@better-auth/utils/dist/binary.mjs +0 -14
- package/template/apps/web/node_modules/@better-auth/utils/dist/ecdsa.cjs +0 -90
- package/template/apps/web/node_modules/@better-auth/utils/dist/ecdsa.d.cts +0 -19
- package/template/apps/web/node_modules/@better-auth/utils/dist/ecdsa.d.mts +0 -19
- package/template/apps/web/node_modules/@better-auth/utils/dist/ecdsa.d.ts +0 -19
- package/template/apps/web/node_modules/@better-auth/utils/dist/ecdsa.mjs +0 -88
- package/template/apps/web/node_modules/@better-auth/utils/dist/hash.cjs +0 -31
- package/template/apps/web/node_modules/@better-auth/utils/dist/hash.d.cts +0 -7
- package/template/apps/web/node_modules/@better-auth/utils/dist/hash.d.mts +0 -7
- package/template/apps/web/node_modules/@better-auth/utils/dist/hash.d.ts +0 -7
- package/template/apps/web/node_modules/@better-auth/utils/dist/hash.mjs +0 -29
- package/template/apps/web/node_modules/@better-auth/utils/dist/hex.cjs +0 -40
- package/template/apps/web/node_modules/@better-auth/utils/dist/hex.d.cts +0 -8
- package/template/apps/web/node_modules/@better-auth/utils/dist/hex.d.mts +0 -8
- package/template/apps/web/node_modules/@better-auth/utils/dist/hex.d.ts +0 -8
- package/template/apps/web/node_modules/@better-auth/utils/dist/hex.mjs +0 -38
- package/template/apps/web/node_modules/@better-auth/utils/dist/hmac.cjs +0 -58
- package/template/apps/web/node_modules/@better-auth/utils/dist/hmac.d.cts +0 -9
- package/template/apps/web/node_modules/@better-auth/utils/dist/hmac.d.mts +0 -9
- package/template/apps/web/node_modules/@better-auth/utils/dist/hmac.d.ts +0 -9
- package/template/apps/web/node_modules/@better-auth/utils/dist/hmac.mjs +0 -56
- package/template/apps/web/node_modules/@better-auth/utils/dist/index.cjs +0 -10
- package/template/apps/web/node_modules/@better-auth/utils/dist/index.d.cts +0 -3
- package/template/apps/web/node_modules/@better-auth/utils/dist/index.d.mts +0 -3
- package/template/apps/web/node_modules/@better-auth/utils/dist/index.d.ts +0 -3
- package/template/apps/web/node_modules/@better-auth/utils/dist/index.mjs +0 -8
- package/template/apps/web/node_modules/@better-auth/utils/dist/otp.cjs +0 -90
- package/template/apps/web/node_modules/@better-auth/utils/dist/otp.d.cts +0 -13
- package/template/apps/web/node_modules/@better-auth/utils/dist/otp.d.mts +0 -13
- package/template/apps/web/node_modules/@better-auth/utils/dist/otp.d.ts +0 -13
- package/template/apps/web/node_modules/@better-auth/utils/dist/otp.mjs +0 -88
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.cjs +0 -36
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.d.cts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.d.ts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.mjs +0 -33
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.node.cjs +0 -47
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.node.d.cts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.node.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.node.d.ts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/password.node.mjs +0 -44
- package/template/apps/web/node_modules/@better-auth/utils/dist/random.cjs +0 -55
- package/template/apps/web/node_modules/@better-auth/utils/dist/random.d.cts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/random.d.mts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/random.d.ts +0 -4
- package/template/apps/web/node_modules/@better-auth/utils/dist/random.mjs +0 -53
- package/template/apps/web/node_modules/@better-auth/utils/dist/rsa.cjs +0 -76
- package/template/apps/web/node_modules/@better-auth/utils/dist/rsa.d.cts +0 -16
- package/template/apps/web/node_modules/@better-auth/utils/dist/rsa.d.mts +0 -16
- package/template/apps/web/node_modules/@better-auth/utils/dist/rsa.d.ts +0 -16
- package/template/apps/web/node_modules/@better-auth/utils/dist/rsa.mjs +0 -74
- package/template/apps/web/node_modules/@better-auth/utils/dist/shared/utils.ecd028f7.d.cts +0 -22
- package/template/apps/web/node_modules/@better-auth/utils/dist/shared/utils.ecd028f7.d.mts +0 -22
- package/template/apps/web/node_modules/@better-auth/utils/dist/shared/utils.ecd028f7.d.ts +0 -22
- package/template/apps/web/node_modules/@better-auth/utils/package.json +0 -95
- package/template/apps/web/node_modules/better-call/LICENSE +0 -21
- package/template/apps/web/node_modules/better-call/dist/_virtual/_rolldown/runtime.cjs +0 -29
- package/template/apps/web/node_modules/better-call/dist/adapters/node/request.cjs +0 -181
- package/template/apps/web/node_modules/better-call/dist/adapters/node/request.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/adapters/node/request.d.cts +0 -16
- package/template/apps/web/node_modules/better-call/dist/adapters/node/request.d.mts +0 -16
- package/template/apps/web/node_modules/better-call/dist/adapters/node/request.mjs +0 -178
- package/template/apps/web/node_modules/better-call/dist/adapters/node/request.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/client.cjs +0 -23
- package/template/apps/web/node_modules/better-call/dist/client.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/client.d.cts +0 -53
- package/template/apps/web/node_modules/better-call/dist/client.d.mts +0 -53
- package/template/apps/web/node_modules/better-call/dist/client.mjs +0 -14
- package/template/apps/web/node_modules/better-call/dist/client.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/context.cjs +0 -103
- package/template/apps/web/node_modules/better-call/dist/context.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/context.d.cts +0 -341
- package/template/apps/web/node_modules/better-call/dist/context.d.mts +0 -341
- package/template/apps/web/node_modules/better-call/dist/context.mjs +0 -103
- package/template/apps/web/node_modules/better-call/dist/context.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/cookies.cjs +0 -87
- package/template/apps/web/node_modules/better-call/dist/cookies.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/cookies.d.cts +0 -103
- package/template/apps/web/node_modules/better-call/dist/cookies.d.mts +0 -103
- package/template/apps/web/node_modules/better-call/dist/cookies.mjs +0 -84
- package/template/apps/web/node_modules/better-call/dist/cookies.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/crypto.cjs +0 -39
- package/template/apps/web/node_modules/better-call/dist/crypto.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/crypto.mjs +0 -36
- package/template/apps/web/node_modules/better-call/dist/crypto.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/endpoint.cjs +0 -70
- package/template/apps/web/node_modules/better-call/dist/endpoint.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/endpoint.d.cts +0 -475
- package/template/apps/web/node_modules/better-call/dist/endpoint.d.mts +0 -475
- package/template/apps/web/node_modules/better-call/dist/endpoint.mjs +0 -70
- package/template/apps/web/node_modules/better-call/dist/endpoint.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/error.cjs +0 -141
- package/template/apps/web/node_modules/better-call/dist/error.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/error.d.cts +0 -103
- package/template/apps/web/node_modules/better-call/dist/error.d.mts +0 -103
- package/template/apps/web/node_modules/better-call/dist/error.mjs +0 -133
- package/template/apps/web/node_modules/better-call/dist/error.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/helper.d.cts +0 -12
- package/template/apps/web/node_modules/better-call/dist/helper.d.mts +0 -12
- package/template/apps/web/node_modules/better-call/dist/index.cjs +0 -28
- package/template/apps/web/node_modules/better-call/dist/index.d.cts +0 -11
- package/template/apps/web/node_modules/better-call/dist/index.d.mts +0 -11
- package/template/apps/web/node_modules/better-call/dist/index.mjs +0 -10
- package/template/apps/web/node_modules/better-call/dist/middleware.cjs +0 -52
- package/template/apps/web/node_modules/better-call/dist/middleware.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/middleware.d.cts +0 -123
- package/template/apps/web/node_modules/better-call/dist/middleware.d.mts +0 -123
- package/template/apps/web/node_modules/better-call/dist/middleware.mjs +0 -52
- package/template/apps/web/node_modules/better-call/dist/middleware.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/node.cjs +0 -18
- package/template/apps/web/node_modules/better-call/dist/node.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/node.d.cts +0 -9
- package/template/apps/web/node_modules/better-call/dist/node.d.mts +0 -9
- package/template/apps/web/node_modules/better-call/dist/node.mjs +0 -15
- package/template/apps/web/node_modules/better-call/dist/node.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/openapi.cjs +0 -191
- package/template/apps/web/node_modules/better-call/dist/openapi.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/openapi.d.cts +0 -113
- package/template/apps/web/node_modules/better-call/dist/openapi.d.mts +0 -113
- package/template/apps/web/node_modules/better-call/dist/openapi.mjs +0 -189
- package/template/apps/web/node_modules/better-call/dist/openapi.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/router.cjs +0 -118
- package/template/apps/web/node_modules/better-call/dist/router.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/router.d.cts +0 -103
- package/template/apps/web/node_modules/better-call/dist/router.d.mts +0 -103
- package/template/apps/web/node_modules/better-call/dist/router.mjs +0 -117
- package/template/apps/web/node_modules/better-call/dist/router.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/standard-schema.d.cts +0 -59
- package/template/apps/web/node_modules/better-call/dist/standard-schema.d.mts +0 -59
- package/template/apps/web/node_modules/better-call/dist/to-response.cjs +0 -153
- package/template/apps/web/node_modules/better-call/dist/to-response.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/to-response.d.cts +0 -12
- package/template/apps/web/node_modules/better-call/dist/to-response.d.mts +0 -12
- package/template/apps/web/node_modules/better-call/dist/to-response.mjs +0 -153
- package/template/apps/web/node_modules/better-call/dist/to-response.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/utils.cjs +0 -86
- package/template/apps/web/node_modules/better-call/dist/utils.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/utils.mjs +0 -82
- package/template/apps/web/node_modules/better-call/dist/utils.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/validator.cjs +0 -58
- package/template/apps/web/node_modules/better-call/dist/validator.cjs.map +0 -1
- package/template/apps/web/node_modules/better-call/dist/validator.mjs +0 -57
- package/template/apps/web/node_modules/better-call/dist/validator.mjs.map +0 -1
- package/template/apps/web/node_modules/better-call/package.json +0 -96
- package/template/apps/web/node_modules/set-cookie-parser/LICENSE +0 -21
- package/template/apps/web/node_modules/set-cookie-parser/README.md +0 -169
- package/template/apps/web/node_modules/set-cookie-parser/dist/.eslintrc.cjs +0 -16
- package/template/apps/web/node_modules/set-cookie-parser/dist/set-cookie.cjs +0 -260
- package/template/apps/web/node_modules/set-cookie-parser/lib/set-cookie.d.ts +0 -119
- package/template/apps/web/node_modules/set-cookie-parser/lib/set-cookie.js +0 -265
- package/template/apps/web/node_modules/set-cookie-parser/package.json +0 -61
|
@@ -1,1834 +0,0 @@
|
|
|
1
|
-
import { AppleNonConformUser, AppleOptions, AppleProfile, apple, getApplePublicKey } from "./apple.mjs";
|
|
2
|
-
import { AtlassianOptions, AtlassianProfile, atlassian } from "./atlassian.mjs";
|
|
3
|
-
import { CognitoOptions, CognitoProfile, cognito, getCognitoPublicKey } from "./cognito.mjs";
|
|
4
|
-
import { DiscordOptions, DiscordProfile, discord } from "./discord.mjs";
|
|
5
|
-
import { FacebookOptions, FacebookProfile, facebook } from "./facebook.mjs";
|
|
6
|
-
import { FigmaOptions, FigmaProfile, figma } from "./figma.mjs";
|
|
7
|
-
import { GithubOptions, GithubProfile, github } from "./github.mjs";
|
|
8
|
-
import { MicrosoftEntraIDProfile, MicrosoftOptions, getMicrosoftPublicKey, microsoft } from "./microsoft-entra-id.mjs";
|
|
9
|
-
import { GoogleOptions, GoogleProfile, getGooglePublicKey, google } from "./google.mjs";
|
|
10
|
-
import { HuggingFaceOptions, HuggingFaceProfile, huggingface } from "./huggingface.mjs";
|
|
11
|
-
import { SlackOptions, SlackProfile, slack } from "./slack.mjs";
|
|
12
|
-
import { SpotifyOptions, SpotifyProfile, spotify } from "./spotify.mjs";
|
|
13
|
-
import { TwitchOptions, TwitchProfile, twitch } from "./twitch.mjs";
|
|
14
|
-
import { TwitterOption, TwitterProfile, twitter } from "./twitter.mjs";
|
|
15
|
-
import { DropboxOptions, DropboxProfile, dropbox } from "./dropbox.mjs";
|
|
16
|
-
import { KickOptions, KickProfile, kick } from "./kick.mjs";
|
|
17
|
-
import { LinearOptions, LinearProfile, LinearUser, linear } from "./linear.mjs";
|
|
18
|
-
import { LinkedInOptions, LinkedInProfile, linkedin } from "./linkedin.mjs";
|
|
19
|
-
import { GitlabOptions, GitlabProfile, gitlab } from "./gitlab.mjs";
|
|
20
|
-
import { TiktokOptions, TiktokProfile, tiktok } from "./tiktok.mjs";
|
|
21
|
-
import { RedditOptions, RedditProfile, reddit } from "./reddit.mjs";
|
|
22
|
-
import { RobloxOptions, RobloxProfile, roblox } from "./roblox.mjs";
|
|
23
|
-
import { SalesforceOptions, SalesforceProfile, salesforce } from "./salesforce.mjs";
|
|
24
|
-
import { VkOption, VkProfile, vk } from "./vk.mjs";
|
|
25
|
-
import { AccountStatus, LoginType, PhoneNumber, PronounOption, ZoomOptions, ZoomProfile, zoom } from "./zoom.mjs";
|
|
26
|
-
import { NotionOptions, NotionProfile, notion } from "./notion.mjs";
|
|
27
|
-
import { KakaoOptions, KakaoProfile, kakao } from "./kakao.mjs";
|
|
28
|
-
import { NaverOptions, NaverProfile, naver } from "./naver.mjs";
|
|
29
|
-
import { LineIdTokenPayload, LineOptions, LineUserInfo, line } from "./line.mjs";
|
|
30
|
-
import { PaybinOptions, PaybinProfile, paybin } from "./paybin.mjs";
|
|
31
|
-
import { PayPalOptions, PayPalProfile, PayPalTokenResponse, paypal } from "./paypal.mjs";
|
|
32
|
-
import { PolarOptions, PolarProfile, polar } from "./polar.mjs";
|
|
33
|
-
import { RailwayOptions, RailwayProfile, railway } from "./railway.mjs";
|
|
34
|
-
import { VercelOptions, VercelProfile, vercel } from "./vercel.mjs";
|
|
35
|
-
import { WeChatOptions, WeChatProfile, wechat } from "./wechat.mjs";
|
|
36
|
-
import { AwaitableFunction } from "../types/helper.mjs";
|
|
37
|
-
import { OAuth2Tokens } from "../oauth2/oauth-provider.mjs";
|
|
38
|
-
import * as z from "zod";
|
|
39
|
-
|
|
40
|
-
//#region src/social-providers/index.d.ts
|
|
41
|
-
declare const socialProviders: {
|
|
42
|
-
apple: (options: AppleOptions) => {
|
|
43
|
-
id: "apple";
|
|
44
|
-
name: string;
|
|
45
|
-
createAuthorizationURL({
|
|
46
|
-
state,
|
|
47
|
-
scopes,
|
|
48
|
-
redirectURI
|
|
49
|
-
}: {
|
|
50
|
-
state: string;
|
|
51
|
-
codeVerifier: string;
|
|
52
|
-
scopes?: string[] | undefined;
|
|
53
|
-
redirectURI: string;
|
|
54
|
-
display?: string | undefined;
|
|
55
|
-
loginHint?: string | undefined;
|
|
56
|
-
}): Promise<URL>;
|
|
57
|
-
validateAuthorizationCode: ({
|
|
58
|
-
code,
|
|
59
|
-
codeVerifier,
|
|
60
|
-
redirectURI
|
|
61
|
-
}: {
|
|
62
|
-
code: string;
|
|
63
|
-
redirectURI: string;
|
|
64
|
-
codeVerifier?: string | undefined;
|
|
65
|
-
deviceId?: string | undefined;
|
|
66
|
-
}) => Promise<OAuth2Tokens>;
|
|
67
|
-
verifyIdToken(token: string, nonce: string | undefined): Promise<boolean>;
|
|
68
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
69
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
70
|
-
user?: {
|
|
71
|
-
name?: {
|
|
72
|
-
firstName?: string;
|
|
73
|
-
lastName?: string;
|
|
74
|
-
};
|
|
75
|
-
email?: string;
|
|
76
|
-
} | undefined;
|
|
77
|
-
}): Promise<{
|
|
78
|
-
user: {
|
|
79
|
-
id: string;
|
|
80
|
-
name?: string;
|
|
81
|
-
email?: string | null;
|
|
82
|
-
image?: string;
|
|
83
|
-
emailVerified: boolean;
|
|
84
|
-
[key: string]: any;
|
|
85
|
-
};
|
|
86
|
-
data: any;
|
|
87
|
-
} | null>;
|
|
88
|
-
options: AppleOptions;
|
|
89
|
-
};
|
|
90
|
-
atlassian: (options: AtlassianOptions) => {
|
|
91
|
-
id: "atlassian";
|
|
92
|
-
name: string;
|
|
93
|
-
createAuthorizationURL({
|
|
94
|
-
state,
|
|
95
|
-
scopes,
|
|
96
|
-
codeVerifier,
|
|
97
|
-
redirectURI
|
|
98
|
-
}: {
|
|
99
|
-
state: string;
|
|
100
|
-
codeVerifier: string;
|
|
101
|
-
scopes?: string[] | undefined;
|
|
102
|
-
redirectURI: string;
|
|
103
|
-
display?: string | undefined;
|
|
104
|
-
loginHint?: string | undefined;
|
|
105
|
-
}): Promise<URL>;
|
|
106
|
-
validateAuthorizationCode: ({
|
|
107
|
-
code,
|
|
108
|
-
codeVerifier,
|
|
109
|
-
redirectURI
|
|
110
|
-
}: {
|
|
111
|
-
code: string;
|
|
112
|
-
redirectURI: string;
|
|
113
|
-
codeVerifier?: string | undefined;
|
|
114
|
-
deviceId?: string | undefined;
|
|
115
|
-
}) => Promise<OAuth2Tokens>;
|
|
116
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
117
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
118
|
-
user?: {
|
|
119
|
-
name?: {
|
|
120
|
-
firstName?: string;
|
|
121
|
-
lastName?: string;
|
|
122
|
-
};
|
|
123
|
-
email?: string;
|
|
124
|
-
} | undefined;
|
|
125
|
-
}): Promise<{
|
|
126
|
-
user: {
|
|
127
|
-
id: string;
|
|
128
|
-
name?: string;
|
|
129
|
-
email?: string | null;
|
|
130
|
-
image?: string;
|
|
131
|
-
emailVerified: boolean;
|
|
132
|
-
[key: string]: any;
|
|
133
|
-
};
|
|
134
|
-
data: any;
|
|
135
|
-
} | null>;
|
|
136
|
-
options: AtlassianOptions;
|
|
137
|
-
};
|
|
138
|
-
cognito: (options: CognitoOptions) => {
|
|
139
|
-
id: "cognito";
|
|
140
|
-
name: string;
|
|
141
|
-
createAuthorizationURL({
|
|
142
|
-
state,
|
|
143
|
-
scopes,
|
|
144
|
-
codeVerifier,
|
|
145
|
-
redirectURI
|
|
146
|
-
}: {
|
|
147
|
-
state: string;
|
|
148
|
-
codeVerifier: string;
|
|
149
|
-
scopes?: string[] | undefined;
|
|
150
|
-
redirectURI: string;
|
|
151
|
-
display?: string | undefined;
|
|
152
|
-
loginHint?: string | undefined;
|
|
153
|
-
}): Promise<URL>;
|
|
154
|
-
validateAuthorizationCode: ({
|
|
155
|
-
code,
|
|
156
|
-
codeVerifier,
|
|
157
|
-
redirectURI
|
|
158
|
-
}: {
|
|
159
|
-
code: string;
|
|
160
|
-
redirectURI: string;
|
|
161
|
-
codeVerifier?: string | undefined;
|
|
162
|
-
deviceId?: string | undefined;
|
|
163
|
-
}) => Promise<OAuth2Tokens>;
|
|
164
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
165
|
-
verifyIdToken(token: string, nonce: string | undefined): Promise<boolean>;
|
|
166
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
167
|
-
user?: {
|
|
168
|
-
name?: {
|
|
169
|
-
firstName?: string;
|
|
170
|
-
lastName?: string;
|
|
171
|
-
};
|
|
172
|
-
email?: string;
|
|
173
|
-
} | undefined;
|
|
174
|
-
}): Promise<{
|
|
175
|
-
user: {
|
|
176
|
-
id: string;
|
|
177
|
-
name?: string;
|
|
178
|
-
email?: string | null;
|
|
179
|
-
image?: string;
|
|
180
|
-
emailVerified: boolean;
|
|
181
|
-
[key: string]: any;
|
|
182
|
-
};
|
|
183
|
-
data: any;
|
|
184
|
-
} | null>;
|
|
185
|
-
options: CognitoOptions;
|
|
186
|
-
};
|
|
187
|
-
discord: (options: DiscordOptions) => {
|
|
188
|
-
id: "discord";
|
|
189
|
-
name: string;
|
|
190
|
-
createAuthorizationURL({
|
|
191
|
-
state,
|
|
192
|
-
scopes,
|
|
193
|
-
redirectURI
|
|
194
|
-
}: {
|
|
195
|
-
state: string;
|
|
196
|
-
codeVerifier: string;
|
|
197
|
-
scopes?: string[] | undefined;
|
|
198
|
-
redirectURI: string;
|
|
199
|
-
display?: string | undefined;
|
|
200
|
-
loginHint?: string | undefined;
|
|
201
|
-
}): URL;
|
|
202
|
-
validateAuthorizationCode: ({
|
|
203
|
-
code,
|
|
204
|
-
redirectURI
|
|
205
|
-
}: {
|
|
206
|
-
code: string;
|
|
207
|
-
redirectURI: string;
|
|
208
|
-
codeVerifier?: string | undefined;
|
|
209
|
-
deviceId?: string | undefined;
|
|
210
|
-
}) => Promise<OAuth2Tokens>;
|
|
211
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
212
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
213
|
-
user?: {
|
|
214
|
-
name?: {
|
|
215
|
-
firstName?: string;
|
|
216
|
-
lastName?: string;
|
|
217
|
-
};
|
|
218
|
-
email?: string;
|
|
219
|
-
} | undefined;
|
|
220
|
-
}): Promise<{
|
|
221
|
-
user: {
|
|
222
|
-
id: string;
|
|
223
|
-
name?: string;
|
|
224
|
-
email?: string | null;
|
|
225
|
-
image?: string;
|
|
226
|
-
emailVerified: boolean;
|
|
227
|
-
[key: string]: any;
|
|
228
|
-
};
|
|
229
|
-
data: any;
|
|
230
|
-
} | null>;
|
|
231
|
-
options: DiscordOptions;
|
|
232
|
-
};
|
|
233
|
-
facebook: (options: FacebookOptions) => {
|
|
234
|
-
id: "facebook";
|
|
235
|
-
name: string;
|
|
236
|
-
createAuthorizationURL({
|
|
237
|
-
state,
|
|
238
|
-
scopes,
|
|
239
|
-
redirectURI,
|
|
240
|
-
loginHint
|
|
241
|
-
}: {
|
|
242
|
-
state: string;
|
|
243
|
-
codeVerifier: string;
|
|
244
|
-
scopes?: string[] | undefined;
|
|
245
|
-
redirectURI: string;
|
|
246
|
-
display?: string | undefined;
|
|
247
|
-
loginHint?: string | undefined;
|
|
248
|
-
}): Promise<URL>;
|
|
249
|
-
validateAuthorizationCode: ({
|
|
250
|
-
code,
|
|
251
|
-
redirectURI
|
|
252
|
-
}: {
|
|
253
|
-
code: string;
|
|
254
|
-
redirectURI: string;
|
|
255
|
-
codeVerifier?: string | undefined;
|
|
256
|
-
deviceId?: string | undefined;
|
|
257
|
-
}) => Promise<OAuth2Tokens>;
|
|
258
|
-
verifyIdToken(token: string, nonce: string | undefined): Promise<boolean>;
|
|
259
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
260
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
261
|
-
user?: {
|
|
262
|
-
name?: {
|
|
263
|
-
firstName?: string;
|
|
264
|
-
lastName?: string;
|
|
265
|
-
};
|
|
266
|
-
email?: string;
|
|
267
|
-
} | undefined;
|
|
268
|
-
}): Promise<{
|
|
269
|
-
user: {
|
|
270
|
-
id: string;
|
|
271
|
-
name?: string;
|
|
272
|
-
email?: string | null;
|
|
273
|
-
image?: string;
|
|
274
|
-
emailVerified: boolean;
|
|
275
|
-
[key: string]: any;
|
|
276
|
-
};
|
|
277
|
-
data: any;
|
|
278
|
-
} | null>;
|
|
279
|
-
options: FacebookOptions;
|
|
280
|
-
};
|
|
281
|
-
figma: (options: FigmaOptions) => {
|
|
282
|
-
id: "figma";
|
|
283
|
-
name: string;
|
|
284
|
-
createAuthorizationURL({
|
|
285
|
-
state,
|
|
286
|
-
scopes,
|
|
287
|
-
codeVerifier,
|
|
288
|
-
redirectURI
|
|
289
|
-
}: {
|
|
290
|
-
state: string;
|
|
291
|
-
codeVerifier: string;
|
|
292
|
-
scopes?: string[] | undefined;
|
|
293
|
-
redirectURI: string;
|
|
294
|
-
display?: string | undefined;
|
|
295
|
-
loginHint?: string | undefined;
|
|
296
|
-
}): Promise<URL>;
|
|
297
|
-
validateAuthorizationCode: ({
|
|
298
|
-
code,
|
|
299
|
-
codeVerifier,
|
|
300
|
-
redirectURI
|
|
301
|
-
}: {
|
|
302
|
-
code: string;
|
|
303
|
-
redirectURI: string;
|
|
304
|
-
codeVerifier?: string | undefined;
|
|
305
|
-
deviceId?: string | undefined;
|
|
306
|
-
}) => Promise<OAuth2Tokens>;
|
|
307
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
308
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
309
|
-
user?: {
|
|
310
|
-
name?: {
|
|
311
|
-
firstName?: string;
|
|
312
|
-
lastName?: string;
|
|
313
|
-
};
|
|
314
|
-
email?: string;
|
|
315
|
-
} | undefined;
|
|
316
|
-
}): Promise<{
|
|
317
|
-
user: {
|
|
318
|
-
id: string;
|
|
319
|
-
name?: string;
|
|
320
|
-
email?: string | null;
|
|
321
|
-
image?: string;
|
|
322
|
-
emailVerified: boolean;
|
|
323
|
-
[key: string]: any;
|
|
324
|
-
};
|
|
325
|
-
data: any;
|
|
326
|
-
} | null>;
|
|
327
|
-
options: FigmaOptions;
|
|
328
|
-
};
|
|
329
|
-
github: (options: GithubOptions) => {
|
|
330
|
-
id: "github";
|
|
331
|
-
name: string;
|
|
332
|
-
createAuthorizationURL({
|
|
333
|
-
state,
|
|
334
|
-
scopes,
|
|
335
|
-
loginHint,
|
|
336
|
-
codeVerifier,
|
|
337
|
-
redirectURI
|
|
338
|
-
}: {
|
|
339
|
-
state: string;
|
|
340
|
-
codeVerifier: string;
|
|
341
|
-
scopes?: string[] | undefined;
|
|
342
|
-
redirectURI: string;
|
|
343
|
-
display?: string | undefined;
|
|
344
|
-
loginHint?: string | undefined;
|
|
345
|
-
}): Promise<URL>;
|
|
346
|
-
validateAuthorizationCode: ({
|
|
347
|
-
code,
|
|
348
|
-
codeVerifier,
|
|
349
|
-
redirectURI
|
|
350
|
-
}: {
|
|
351
|
-
code: string;
|
|
352
|
-
redirectURI: string;
|
|
353
|
-
codeVerifier?: string | undefined;
|
|
354
|
-
deviceId?: string | undefined;
|
|
355
|
-
}) => Promise<OAuth2Tokens | null>;
|
|
356
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
357
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
358
|
-
user?: {
|
|
359
|
-
name?: {
|
|
360
|
-
firstName?: string;
|
|
361
|
-
lastName?: string;
|
|
362
|
-
};
|
|
363
|
-
email?: string;
|
|
364
|
-
} | undefined;
|
|
365
|
-
}): Promise<{
|
|
366
|
-
user: {
|
|
367
|
-
id: string;
|
|
368
|
-
name?: string;
|
|
369
|
-
email?: string | null;
|
|
370
|
-
image?: string;
|
|
371
|
-
emailVerified: boolean;
|
|
372
|
-
[key: string]: any;
|
|
373
|
-
};
|
|
374
|
-
data: any;
|
|
375
|
-
} | null>;
|
|
376
|
-
options: GithubOptions;
|
|
377
|
-
};
|
|
378
|
-
microsoft: (options: MicrosoftOptions) => {
|
|
379
|
-
id: "microsoft";
|
|
380
|
-
name: string;
|
|
381
|
-
createAuthorizationURL(data: {
|
|
382
|
-
state: string;
|
|
383
|
-
codeVerifier: string;
|
|
384
|
-
scopes?: string[] | undefined;
|
|
385
|
-
redirectURI: string;
|
|
386
|
-
display?: string | undefined;
|
|
387
|
-
loginHint?: string | undefined;
|
|
388
|
-
}): Promise<URL>;
|
|
389
|
-
validateAuthorizationCode({
|
|
390
|
-
code,
|
|
391
|
-
codeVerifier,
|
|
392
|
-
redirectURI
|
|
393
|
-
}: {
|
|
394
|
-
code: string;
|
|
395
|
-
redirectURI: string;
|
|
396
|
-
codeVerifier?: string | undefined;
|
|
397
|
-
deviceId?: string | undefined;
|
|
398
|
-
}): Promise<OAuth2Tokens>;
|
|
399
|
-
verifyIdToken(token: string, nonce: string | undefined): Promise<boolean>;
|
|
400
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
401
|
-
user?: {
|
|
402
|
-
name?: {
|
|
403
|
-
firstName?: string;
|
|
404
|
-
lastName?: string;
|
|
405
|
-
};
|
|
406
|
-
email?: string;
|
|
407
|
-
} | undefined;
|
|
408
|
-
}): Promise<{
|
|
409
|
-
user: {
|
|
410
|
-
id: string;
|
|
411
|
-
name?: string;
|
|
412
|
-
email?: string | null;
|
|
413
|
-
image?: string;
|
|
414
|
-
emailVerified: boolean;
|
|
415
|
-
[key: string]: any;
|
|
416
|
-
};
|
|
417
|
-
data: any;
|
|
418
|
-
} | null>;
|
|
419
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
420
|
-
options: MicrosoftOptions;
|
|
421
|
-
};
|
|
422
|
-
google: (options: GoogleOptions) => {
|
|
423
|
-
id: "google";
|
|
424
|
-
name: string;
|
|
425
|
-
createAuthorizationURL({
|
|
426
|
-
state,
|
|
427
|
-
scopes,
|
|
428
|
-
codeVerifier,
|
|
429
|
-
redirectURI,
|
|
430
|
-
loginHint,
|
|
431
|
-
display
|
|
432
|
-
}: {
|
|
433
|
-
state: string;
|
|
434
|
-
codeVerifier: string;
|
|
435
|
-
scopes?: string[] | undefined;
|
|
436
|
-
redirectURI: string;
|
|
437
|
-
display?: string | undefined;
|
|
438
|
-
loginHint?: string | undefined;
|
|
439
|
-
}): Promise<URL>;
|
|
440
|
-
validateAuthorizationCode: ({
|
|
441
|
-
code,
|
|
442
|
-
codeVerifier,
|
|
443
|
-
redirectURI
|
|
444
|
-
}: {
|
|
445
|
-
code: string;
|
|
446
|
-
redirectURI: string;
|
|
447
|
-
codeVerifier?: string | undefined;
|
|
448
|
-
deviceId?: string | undefined;
|
|
449
|
-
}) => Promise<OAuth2Tokens>;
|
|
450
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
451
|
-
verifyIdToken(token: string, nonce: string | undefined): Promise<boolean>;
|
|
452
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
453
|
-
user?: {
|
|
454
|
-
name?: {
|
|
455
|
-
firstName?: string;
|
|
456
|
-
lastName?: string;
|
|
457
|
-
};
|
|
458
|
-
email?: string;
|
|
459
|
-
} | undefined;
|
|
460
|
-
}): Promise<{
|
|
461
|
-
user: {
|
|
462
|
-
id: string;
|
|
463
|
-
name?: string;
|
|
464
|
-
email?: string | null;
|
|
465
|
-
image?: string;
|
|
466
|
-
emailVerified: boolean;
|
|
467
|
-
[key: string]: any;
|
|
468
|
-
};
|
|
469
|
-
data: any;
|
|
470
|
-
} | null>;
|
|
471
|
-
options: GoogleOptions;
|
|
472
|
-
};
|
|
473
|
-
huggingface: (options: HuggingFaceOptions) => {
|
|
474
|
-
id: "huggingface";
|
|
475
|
-
name: string;
|
|
476
|
-
createAuthorizationURL({
|
|
477
|
-
state,
|
|
478
|
-
scopes,
|
|
479
|
-
codeVerifier,
|
|
480
|
-
redirectURI
|
|
481
|
-
}: {
|
|
482
|
-
state: string;
|
|
483
|
-
codeVerifier: string;
|
|
484
|
-
scopes?: string[] | undefined;
|
|
485
|
-
redirectURI: string;
|
|
486
|
-
display?: string | undefined;
|
|
487
|
-
loginHint?: string | undefined;
|
|
488
|
-
}): Promise<URL>;
|
|
489
|
-
validateAuthorizationCode: ({
|
|
490
|
-
code,
|
|
491
|
-
codeVerifier,
|
|
492
|
-
redirectURI
|
|
493
|
-
}: {
|
|
494
|
-
code: string;
|
|
495
|
-
redirectURI: string;
|
|
496
|
-
codeVerifier?: string | undefined;
|
|
497
|
-
deviceId?: string | undefined;
|
|
498
|
-
}) => Promise<OAuth2Tokens>;
|
|
499
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
500
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
501
|
-
user?: {
|
|
502
|
-
name?: {
|
|
503
|
-
firstName?: string;
|
|
504
|
-
lastName?: string;
|
|
505
|
-
};
|
|
506
|
-
email?: string;
|
|
507
|
-
} | undefined;
|
|
508
|
-
}): Promise<{
|
|
509
|
-
user: {
|
|
510
|
-
id: string;
|
|
511
|
-
name?: string;
|
|
512
|
-
email?: string | null;
|
|
513
|
-
image?: string;
|
|
514
|
-
emailVerified: boolean;
|
|
515
|
-
[key: string]: any;
|
|
516
|
-
};
|
|
517
|
-
data: any;
|
|
518
|
-
} | null>;
|
|
519
|
-
options: HuggingFaceOptions;
|
|
520
|
-
};
|
|
521
|
-
slack: (options: SlackOptions) => {
|
|
522
|
-
id: "slack";
|
|
523
|
-
name: string;
|
|
524
|
-
createAuthorizationURL({
|
|
525
|
-
state,
|
|
526
|
-
scopes,
|
|
527
|
-
redirectURI
|
|
528
|
-
}: {
|
|
529
|
-
state: string;
|
|
530
|
-
codeVerifier: string;
|
|
531
|
-
scopes?: string[] | undefined;
|
|
532
|
-
redirectURI: string;
|
|
533
|
-
display?: string | undefined;
|
|
534
|
-
loginHint?: string | undefined;
|
|
535
|
-
}): URL;
|
|
536
|
-
validateAuthorizationCode: ({
|
|
537
|
-
code,
|
|
538
|
-
redirectURI
|
|
539
|
-
}: {
|
|
540
|
-
code: string;
|
|
541
|
-
redirectURI: string;
|
|
542
|
-
codeVerifier?: string | undefined;
|
|
543
|
-
deviceId?: string | undefined;
|
|
544
|
-
}) => Promise<OAuth2Tokens>;
|
|
545
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
546
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
547
|
-
user?: {
|
|
548
|
-
name?: {
|
|
549
|
-
firstName?: string;
|
|
550
|
-
lastName?: string;
|
|
551
|
-
};
|
|
552
|
-
email?: string;
|
|
553
|
-
} | undefined;
|
|
554
|
-
}): Promise<{
|
|
555
|
-
user: {
|
|
556
|
-
id: string;
|
|
557
|
-
name?: string;
|
|
558
|
-
email?: string | null;
|
|
559
|
-
image?: string;
|
|
560
|
-
emailVerified: boolean;
|
|
561
|
-
[key: string]: any;
|
|
562
|
-
};
|
|
563
|
-
data: any;
|
|
564
|
-
} | null>;
|
|
565
|
-
options: SlackOptions;
|
|
566
|
-
};
|
|
567
|
-
spotify: (options: SpotifyOptions) => {
|
|
568
|
-
id: "spotify";
|
|
569
|
-
name: string;
|
|
570
|
-
createAuthorizationURL({
|
|
571
|
-
state,
|
|
572
|
-
scopes,
|
|
573
|
-
codeVerifier,
|
|
574
|
-
redirectURI
|
|
575
|
-
}: {
|
|
576
|
-
state: string;
|
|
577
|
-
codeVerifier: string;
|
|
578
|
-
scopes?: string[] | undefined;
|
|
579
|
-
redirectURI: string;
|
|
580
|
-
display?: string | undefined;
|
|
581
|
-
loginHint?: string | undefined;
|
|
582
|
-
}): Promise<URL>;
|
|
583
|
-
validateAuthorizationCode: ({
|
|
584
|
-
code,
|
|
585
|
-
codeVerifier,
|
|
586
|
-
redirectURI
|
|
587
|
-
}: {
|
|
588
|
-
code: string;
|
|
589
|
-
redirectURI: string;
|
|
590
|
-
codeVerifier?: string | undefined;
|
|
591
|
-
deviceId?: string | undefined;
|
|
592
|
-
}) => Promise<OAuth2Tokens>;
|
|
593
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
594
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
595
|
-
user?: {
|
|
596
|
-
name?: {
|
|
597
|
-
firstName?: string;
|
|
598
|
-
lastName?: string;
|
|
599
|
-
};
|
|
600
|
-
email?: string;
|
|
601
|
-
} | undefined;
|
|
602
|
-
}): Promise<{
|
|
603
|
-
user: {
|
|
604
|
-
id: string;
|
|
605
|
-
name?: string;
|
|
606
|
-
email?: string | null;
|
|
607
|
-
image?: string;
|
|
608
|
-
emailVerified: boolean;
|
|
609
|
-
[key: string]: any;
|
|
610
|
-
};
|
|
611
|
-
data: any;
|
|
612
|
-
} | null>;
|
|
613
|
-
options: SpotifyOptions;
|
|
614
|
-
};
|
|
615
|
-
twitch: (options: TwitchOptions) => {
|
|
616
|
-
id: "twitch";
|
|
617
|
-
name: string;
|
|
618
|
-
createAuthorizationURL({
|
|
619
|
-
state,
|
|
620
|
-
scopes,
|
|
621
|
-
redirectURI
|
|
622
|
-
}: {
|
|
623
|
-
state: string;
|
|
624
|
-
codeVerifier: string;
|
|
625
|
-
scopes?: string[] | undefined;
|
|
626
|
-
redirectURI: string;
|
|
627
|
-
display?: string | undefined;
|
|
628
|
-
loginHint?: string | undefined;
|
|
629
|
-
}): Promise<URL>;
|
|
630
|
-
validateAuthorizationCode: ({
|
|
631
|
-
code,
|
|
632
|
-
redirectURI
|
|
633
|
-
}: {
|
|
634
|
-
code: string;
|
|
635
|
-
redirectURI: string;
|
|
636
|
-
codeVerifier?: string | undefined;
|
|
637
|
-
deviceId?: string | undefined;
|
|
638
|
-
}) => Promise<OAuth2Tokens>;
|
|
639
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
640
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
641
|
-
user?: {
|
|
642
|
-
name?: {
|
|
643
|
-
firstName?: string;
|
|
644
|
-
lastName?: string;
|
|
645
|
-
};
|
|
646
|
-
email?: string;
|
|
647
|
-
} | undefined;
|
|
648
|
-
}): Promise<{
|
|
649
|
-
user: {
|
|
650
|
-
id: string;
|
|
651
|
-
name?: string;
|
|
652
|
-
email?: string | null;
|
|
653
|
-
image?: string;
|
|
654
|
-
emailVerified: boolean;
|
|
655
|
-
[key: string]: any;
|
|
656
|
-
};
|
|
657
|
-
data: any;
|
|
658
|
-
} | null>;
|
|
659
|
-
options: TwitchOptions;
|
|
660
|
-
};
|
|
661
|
-
twitter: (options: TwitterOption) => {
|
|
662
|
-
id: "twitter";
|
|
663
|
-
name: string;
|
|
664
|
-
createAuthorizationURL(data: {
|
|
665
|
-
state: string;
|
|
666
|
-
codeVerifier: string;
|
|
667
|
-
scopes?: string[] | undefined;
|
|
668
|
-
redirectURI: string;
|
|
669
|
-
display?: string | undefined;
|
|
670
|
-
loginHint?: string | undefined;
|
|
671
|
-
}): Promise<URL>;
|
|
672
|
-
validateAuthorizationCode: ({
|
|
673
|
-
code,
|
|
674
|
-
codeVerifier,
|
|
675
|
-
redirectURI
|
|
676
|
-
}: {
|
|
677
|
-
code: string;
|
|
678
|
-
redirectURI: string;
|
|
679
|
-
codeVerifier?: string | undefined;
|
|
680
|
-
deviceId?: string | undefined;
|
|
681
|
-
}) => Promise<OAuth2Tokens>;
|
|
682
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
683
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
684
|
-
user?: {
|
|
685
|
-
name?: {
|
|
686
|
-
firstName?: string;
|
|
687
|
-
lastName?: string;
|
|
688
|
-
};
|
|
689
|
-
email?: string;
|
|
690
|
-
} | undefined;
|
|
691
|
-
}): Promise<{
|
|
692
|
-
user: {
|
|
693
|
-
id: string;
|
|
694
|
-
name?: string;
|
|
695
|
-
email?: string | null;
|
|
696
|
-
image?: string;
|
|
697
|
-
emailVerified: boolean;
|
|
698
|
-
[key: string]: any;
|
|
699
|
-
};
|
|
700
|
-
data: any;
|
|
701
|
-
} | null>;
|
|
702
|
-
options: TwitterOption;
|
|
703
|
-
};
|
|
704
|
-
dropbox: (options: DropboxOptions) => {
|
|
705
|
-
id: "dropbox";
|
|
706
|
-
name: string;
|
|
707
|
-
createAuthorizationURL: ({
|
|
708
|
-
state,
|
|
709
|
-
scopes,
|
|
710
|
-
codeVerifier,
|
|
711
|
-
redirectURI
|
|
712
|
-
}: {
|
|
713
|
-
state: string;
|
|
714
|
-
codeVerifier: string;
|
|
715
|
-
scopes?: string[] | undefined;
|
|
716
|
-
redirectURI: string;
|
|
717
|
-
display?: string | undefined;
|
|
718
|
-
loginHint?: string | undefined;
|
|
719
|
-
}) => Promise<URL>;
|
|
720
|
-
validateAuthorizationCode: ({
|
|
721
|
-
code,
|
|
722
|
-
codeVerifier,
|
|
723
|
-
redirectURI
|
|
724
|
-
}: {
|
|
725
|
-
code: string;
|
|
726
|
-
redirectURI: string;
|
|
727
|
-
codeVerifier?: string | undefined;
|
|
728
|
-
deviceId?: string | undefined;
|
|
729
|
-
}) => Promise<OAuth2Tokens>;
|
|
730
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
731
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
732
|
-
user?: {
|
|
733
|
-
name?: {
|
|
734
|
-
firstName?: string;
|
|
735
|
-
lastName?: string;
|
|
736
|
-
};
|
|
737
|
-
email?: string;
|
|
738
|
-
} | undefined;
|
|
739
|
-
}): Promise<{
|
|
740
|
-
user: {
|
|
741
|
-
id: string;
|
|
742
|
-
name?: string;
|
|
743
|
-
email?: string | null;
|
|
744
|
-
image?: string;
|
|
745
|
-
emailVerified: boolean;
|
|
746
|
-
[key: string]: any;
|
|
747
|
-
};
|
|
748
|
-
data: any;
|
|
749
|
-
} | null>;
|
|
750
|
-
options: DropboxOptions;
|
|
751
|
-
};
|
|
752
|
-
kick: (options: KickOptions) => {
|
|
753
|
-
id: "kick";
|
|
754
|
-
name: string;
|
|
755
|
-
createAuthorizationURL({
|
|
756
|
-
state,
|
|
757
|
-
scopes,
|
|
758
|
-
redirectURI,
|
|
759
|
-
codeVerifier
|
|
760
|
-
}: {
|
|
761
|
-
state: string;
|
|
762
|
-
codeVerifier: string;
|
|
763
|
-
scopes?: string[] | undefined;
|
|
764
|
-
redirectURI: string;
|
|
765
|
-
display?: string | undefined;
|
|
766
|
-
loginHint?: string | undefined;
|
|
767
|
-
}): Promise<URL>;
|
|
768
|
-
validateAuthorizationCode({
|
|
769
|
-
code,
|
|
770
|
-
redirectURI,
|
|
771
|
-
codeVerifier
|
|
772
|
-
}: {
|
|
773
|
-
code: string;
|
|
774
|
-
redirectURI: string;
|
|
775
|
-
codeVerifier?: string | undefined;
|
|
776
|
-
deviceId?: string | undefined;
|
|
777
|
-
}): Promise<OAuth2Tokens>;
|
|
778
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
779
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
780
|
-
user?: {
|
|
781
|
-
name?: {
|
|
782
|
-
firstName?: string;
|
|
783
|
-
lastName?: string;
|
|
784
|
-
};
|
|
785
|
-
email?: string;
|
|
786
|
-
} | undefined;
|
|
787
|
-
}): Promise<{
|
|
788
|
-
user: {
|
|
789
|
-
id: string;
|
|
790
|
-
name?: string;
|
|
791
|
-
email?: string | null;
|
|
792
|
-
image?: string;
|
|
793
|
-
emailVerified: boolean;
|
|
794
|
-
[key: string]: any;
|
|
795
|
-
};
|
|
796
|
-
data: any;
|
|
797
|
-
} | null>;
|
|
798
|
-
options: KickOptions;
|
|
799
|
-
};
|
|
800
|
-
linear: (options: LinearOptions) => {
|
|
801
|
-
id: "linear";
|
|
802
|
-
name: string;
|
|
803
|
-
createAuthorizationURL({
|
|
804
|
-
state,
|
|
805
|
-
scopes,
|
|
806
|
-
loginHint,
|
|
807
|
-
redirectURI
|
|
808
|
-
}: {
|
|
809
|
-
state: string;
|
|
810
|
-
codeVerifier: string;
|
|
811
|
-
scopes?: string[] | undefined;
|
|
812
|
-
redirectURI: string;
|
|
813
|
-
display?: string | undefined;
|
|
814
|
-
loginHint?: string | undefined;
|
|
815
|
-
}): Promise<URL>;
|
|
816
|
-
validateAuthorizationCode: ({
|
|
817
|
-
code,
|
|
818
|
-
redirectURI
|
|
819
|
-
}: {
|
|
820
|
-
code: string;
|
|
821
|
-
redirectURI: string;
|
|
822
|
-
codeVerifier?: string | undefined;
|
|
823
|
-
deviceId?: string | undefined;
|
|
824
|
-
}) => Promise<OAuth2Tokens>;
|
|
825
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
826
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
827
|
-
user?: {
|
|
828
|
-
name?: {
|
|
829
|
-
firstName?: string;
|
|
830
|
-
lastName?: string;
|
|
831
|
-
};
|
|
832
|
-
email?: string;
|
|
833
|
-
} | undefined;
|
|
834
|
-
}): Promise<{
|
|
835
|
-
user: {
|
|
836
|
-
id: string;
|
|
837
|
-
name?: string;
|
|
838
|
-
email?: string | null;
|
|
839
|
-
image?: string;
|
|
840
|
-
emailVerified: boolean;
|
|
841
|
-
[key: string]: any;
|
|
842
|
-
};
|
|
843
|
-
data: any;
|
|
844
|
-
} | null>;
|
|
845
|
-
options: LinearOptions;
|
|
846
|
-
};
|
|
847
|
-
linkedin: (options: LinkedInOptions) => {
|
|
848
|
-
id: "linkedin";
|
|
849
|
-
name: string;
|
|
850
|
-
createAuthorizationURL: ({
|
|
851
|
-
state,
|
|
852
|
-
scopes,
|
|
853
|
-
redirectURI,
|
|
854
|
-
loginHint
|
|
855
|
-
}: {
|
|
856
|
-
state: string;
|
|
857
|
-
codeVerifier: string;
|
|
858
|
-
scopes?: string[] | undefined;
|
|
859
|
-
redirectURI: string;
|
|
860
|
-
display?: string | undefined;
|
|
861
|
-
loginHint?: string | undefined;
|
|
862
|
-
}) => Promise<URL>;
|
|
863
|
-
validateAuthorizationCode: ({
|
|
864
|
-
code,
|
|
865
|
-
redirectURI
|
|
866
|
-
}: {
|
|
867
|
-
code: string;
|
|
868
|
-
redirectURI: string;
|
|
869
|
-
codeVerifier?: string | undefined;
|
|
870
|
-
deviceId?: string | undefined;
|
|
871
|
-
}) => Promise<OAuth2Tokens>;
|
|
872
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
873
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
874
|
-
user?: {
|
|
875
|
-
name?: {
|
|
876
|
-
firstName?: string;
|
|
877
|
-
lastName?: string;
|
|
878
|
-
};
|
|
879
|
-
email?: string;
|
|
880
|
-
} | undefined;
|
|
881
|
-
}): Promise<{
|
|
882
|
-
user: {
|
|
883
|
-
id: string;
|
|
884
|
-
name?: string;
|
|
885
|
-
email?: string | null;
|
|
886
|
-
image?: string;
|
|
887
|
-
emailVerified: boolean;
|
|
888
|
-
[key: string]: any;
|
|
889
|
-
};
|
|
890
|
-
data: any;
|
|
891
|
-
} | null>;
|
|
892
|
-
options: LinkedInOptions;
|
|
893
|
-
};
|
|
894
|
-
gitlab: (options: GitlabOptions) => {
|
|
895
|
-
id: "gitlab";
|
|
896
|
-
name: string;
|
|
897
|
-
createAuthorizationURL: ({
|
|
898
|
-
state,
|
|
899
|
-
scopes,
|
|
900
|
-
codeVerifier,
|
|
901
|
-
loginHint,
|
|
902
|
-
redirectURI
|
|
903
|
-
}: {
|
|
904
|
-
state: string;
|
|
905
|
-
codeVerifier: string;
|
|
906
|
-
scopes?: string[] | undefined;
|
|
907
|
-
redirectURI: string;
|
|
908
|
-
display?: string | undefined;
|
|
909
|
-
loginHint?: string | undefined;
|
|
910
|
-
}) => Promise<URL>;
|
|
911
|
-
validateAuthorizationCode: ({
|
|
912
|
-
code,
|
|
913
|
-
redirectURI,
|
|
914
|
-
codeVerifier
|
|
915
|
-
}: {
|
|
916
|
-
code: string;
|
|
917
|
-
redirectURI: string;
|
|
918
|
-
codeVerifier?: string | undefined;
|
|
919
|
-
deviceId?: string | undefined;
|
|
920
|
-
}) => Promise<OAuth2Tokens>;
|
|
921
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
922
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
923
|
-
user?: {
|
|
924
|
-
name?: {
|
|
925
|
-
firstName?: string;
|
|
926
|
-
lastName?: string;
|
|
927
|
-
};
|
|
928
|
-
email?: string;
|
|
929
|
-
} | undefined;
|
|
930
|
-
}): Promise<{
|
|
931
|
-
user: {
|
|
932
|
-
id: string;
|
|
933
|
-
name?: string;
|
|
934
|
-
email?: string | null;
|
|
935
|
-
image?: string;
|
|
936
|
-
emailVerified: boolean;
|
|
937
|
-
[key: string]: any;
|
|
938
|
-
};
|
|
939
|
-
data: any;
|
|
940
|
-
} | {
|
|
941
|
-
user: {
|
|
942
|
-
id: number;
|
|
943
|
-
name: string;
|
|
944
|
-
email: string;
|
|
945
|
-
image: string;
|
|
946
|
-
emailVerified: boolean;
|
|
947
|
-
} | {
|
|
948
|
-
id: string | number;
|
|
949
|
-
name: string;
|
|
950
|
-
email: string | null;
|
|
951
|
-
image: string;
|
|
952
|
-
emailVerified: boolean;
|
|
953
|
-
} | {
|
|
954
|
-
id: string | number;
|
|
955
|
-
name: string;
|
|
956
|
-
email: string | null;
|
|
957
|
-
image: string;
|
|
958
|
-
emailVerified: boolean;
|
|
959
|
-
};
|
|
960
|
-
data: GitlabProfile;
|
|
961
|
-
} | null>;
|
|
962
|
-
options: GitlabOptions;
|
|
963
|
-
};
|
|
964
|
-
tiktok: (options: TiktokOptions) => {
|
|
965
|
-
id: "tiktok";
|
|
966
|
-
name: string;
|
|
967
|
-
createAuthorizationURL({
|
|
968
|
-
state,
|
|
969
|
-
scopes,
|
|
970
|
-
redirectURI
|
|
971
|
-
}: {
|
|
972
|
-
state: string;
|
|
973
|
-
codeVerifier: string;
|
|
974
|
-
scopes?: string[] | undefined;
|
|
975
|
-
redirectURI: string;
|
|
976
|
-
display?: string | undefined;
|
|
977
|
-
loginHint?: string | undefined;
|
|
978
|
-
}): URL;
|
|
979
|
-
validateAuthorizationCode: ({
|
|
980
|
-
code,
|
|
981
|
-
redirectURI
|
|
982
|
-
}: {
|
|
983
|
-
code: string;
|
|
984
|
-
redirectURI: string;
|
|
985
|
-
codeVerifier?: string | undefined;
|
|
986
|
-
deviceId?: string | undefined;
|
|
987
|
-
}) => Promise<OAuth2Tokens>;
|
|
988
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
989
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
990
|
-
user?: {
|
|
991
|
-
name?: {
|
|
992
|
-
firstName?: string;
|
|
993
|
-
lastName?: string;
|
|
994
|
-
};
|
|
995
|
-
email?: string;
|
|
996
|
-
} | undefined;
|
|
997
|
-
}): Promise<{
|
|
998
|
-
user: {
|
|
999
|
-
id: string;
|
|
1000
|
-
name?: string;
|
|
1001
|
-
email?: string | null;
|
|
1002
|
-
image?: string;
|
|
1003
|
-
emailVerified: boolean;
|
|
1004
|
-
[key: string]: any;
|
|
1005
|
-
};
|
|
1006
|
-
data: any;
|
|
1007
|
-
} | null>;
|
|
1008
|
-
options: TiktokOptions;
|
|
1009
|
-
};
|
|
1010
|
-
reddit: (options: RedditOptions) => {
|
|
1011
|
-
id: "reddit";
|
|
1012
|
-
name: string;
|
|
1013
|
-
createAuthorizationURL({
|
|
1014
|
-
state,
|
|
1015
|
-
scopes,
|
|
1016
|
-
redirectURI
|
|
1017
|
-
}: {
|
|
1018
|
-
state: string;
|
|
1019
|
-
codeVerifier: string;
|
|
1020
|
-
scopes?: string[] | undefined;
|
|
1021
|
-
redirectURI: string;
|
|
1022
|
-
display?: string | undefined;
|
|
1023
|
-
loginHint?: string | undefined;
|
|
1024
|
-
}): Promise<URL>;
|
|
1025
|
-
validateAuthorizationCode: ({
|
|
1026
|
-
code,
|
|
1027
|
-
redirectURI
|
|
1028
|
-
}: {
|
|
1029
|
-
code: string;
|
|
1030
|
-
redirectURI: string;
|
|
1031
|
-
codeVerifier?: string | undefined;
|
|
1032
|
-
deviceId?: string | undefined;
|
|
1033
|
-
}) => Promise<OAuth2Tokens>;
|
|
1034
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1035
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1036
|
-
user?: {
|
|
1037
|
-
name?: {
|
|
1038
|
-
firstName?: string;
|
|
1039
|
-
lastName?: string;
|
|
1040
|
-
};
|
|
1041
|
-
email?: string;
|
|
1042
|
-
} | undefined;
|
|
1043
|
-
}): Promise<{
|
|
1044
|
-
user: {
|
|
1045
|
-
id: string;
|
|
1046
|
-
name?: string;
|
|
1047
|
-
email?: string | null;
|
|
1048
|
-
image?: string;
|
|
1049
|
-
emailVerified: boolean;
|
|
1050
|
-
[key: string]: any;
|
|
1051
|
-
};
|
|
1052
|
-
data: any;
|
|
1053
|
-
} | null>;
|
|
1054
|
-
options: RedditOptions;
|
|
1055
|
-
};
|
|
1056
|
-
roblox: (options: RobloxOptions) => {
|
|
1057
|
-
id: "roblox";
|
|
1058
|
-
name: string;
|
|
1059
|
-
createAuthorizationURL({
|
|
1060
|
-
state,
|
|
1061
|
-
scopes,
|
|
1062
|
-
redirectURI
|
|
1063
|
-
}: {
|
|
1064
|
-
state: string;
|
|
1065
|
-
codeVerifier: string;
|
|
1066
|
-
scopes?: string[] | undefined;
|
|
1067
|
-
redirectURI: string;
|
|
1068
|
-
display?: string | undefined;
|
|
1069
|
-
loginHint?: string | undefined;
|
|
1070
|
-
}): URL;
|
|
1071
|
-
validateAuthorizationCode: ({
|
|
1072
|
-
code,
|
|
1073
|
-
redirectURI
|
|
1074
|
-
}: {
|
|
1075
|
-
code: string;
|
|
1076
|
-
redirectURI: string;
|
|
1077
|
-
codeVerifier?: string | undefined;
|
|
1078
|
-
deviceId?: string | undefined;
|
|
1079
|
-
}) => Promise<OAuth2Tokens>;
|
|
1080
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1081
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1082
|
-
user?: {
|
|
1083
|
-
name?: {
|
|
1084
|
-
firstName?: string;
|
|
1085
|
-
lastName?: string;
|
|
1086
|
-
};
|
|
1087
|
-
email?: string;
|
|
1088
|
-
} | undefined;
|
|
1089
|
-
}): Promise<{
|
|
1090
|
-
user: {
|
|
1091
|
-
id: string;
|
|
1092
|
-
name?: string;
|
|
1093
|
-
email?: string | null;
|
|
1094
|
-
image?: string;
|
|
1095
|
-
emailVerified: boolean;
|
|
1096
|
-
[key: string]: any;
|
|
1097
|
-
};
|
|
1098
|
-
data: any;
|
|
1099
|
-
} | null>;
|
|
1100
|
-
options: RobloxOptions;
|
|
1101
|
-
};
|
|
1102
|
-
salesforce: (options: SalesforceOptions) => {
|
|
1103
|
-
id: "salesforce";
|
|
1104
|
-
name: string;
|
|
1105
|
-
createAuthorizationURL({
|
|
1106
|
-
state,
|
|
1107
|
-
scopes,
|
|
1108
|
-
codeVerifier,
|
|
1109
|
-
redirectURI
|
|
1110
|
-
}: {
|
|
1111
|
-
state: string;
|
|
1112
|
-
codeVerifier: string;
|
|
1113
|
-
scopes?: string[] | undefined;
|
|
1114
|
-
redirectURI: string;
|
|
1115
|
-
display?: string | undefined;
|
|
1116
|
-
loginHint?: string | undefined;
|
|
1117
|
-
}): Promise<URL>;
|
|
1118
|
-
validateAuthorizationCode: ({
|
|
1119
|
-
code,
|
|
1120
|
-
codeVerifier,
|
|
1121
|
-
redirectURI
|
|
1122
|
-
}: {
|
|
1123
|
-
code: string;
|
|
1124
|
-
redirectURI: string;
|
|
1125
|
-
codeVerifier?: string | undefined;
|
|
1126
|
-
deviceId?: string | undefined;
|
|
1127
|
-
}) => Promise<OAuth2Tokens>;
|
|
1128
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1129
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1130
|
-
user?: {
|
|
1131
|
-
name?: {
|
|
1132
|
-
firstName?: string;
|
|
1133
|
-
lastName?: string;
|
|
1134
|
-
};
|
|
1135
|
-
email?: string;
|
|
1136
|
-
} | undefined;
|
|
1137
|
-
}): Promise<{
|
|
1138
|
-
user: {
|
|
1139
|
-
id: string;
|
|
1140
|
-
name?: string;
|
|
1141
|
-
email?: string | null;
|
|
1142
|
-
image?: string;
|
|
1143
|
-
emailVerified: boolean;
|
|
1144
|
-
[key: string]: any;
|
|
1145
|
-
};
|
|
1146
|
-
data: any;
|
|
1147
|
-
} | null>;
|
|
1148
|
-
options: SalesforceOptions;
|
|
1149
|
-
};
|
|
1150
|
-
vk: (options: VkOption) => {
|
|
1151
|
-
id: "vk";
|
|
1152
|
-
name: string;
|
|
1153
|
-
createAuthorizationURL({
|
|
1154
|
-
state,
|
|
1155
|
-
scopes,
|
|
1156
|
-
codeVerifier,
|
|
1157
|
-
redirectURI
|
|
1158
|
-
}: {
|
|
1159
|
-
state: string;
|
|
1160
|
-
codeVerifier: string;
|
|
1161
|
-
scopes?: string[] | undefined;
|
|
1162
|
-
redirectURI: string;
|
|
1163
|
-
display?: string | undefined;
|
|
1164
|
-
loginHint?: string | undefined;
|
|
1165
|
-
}): Promise<URL>;
|
|
1166
|
-
validateAuthorizationCode: ({
|
|
1167
|
-
code,
|
|
1168
|
-
codeVerifier,
|
|
1169
|
-
redirectURI,
|
|
1170
|
-
deviceId
|
|
1171
|
-
}: {
|
|
1172
|
-
code: string;
|
|
1173
|
-
redirectURI: string;
|
|
1174
|
-
codeVerifier?: string | undefined;
|
|
1175
|
-
deviceId?: string | undefined;
|
|
1176
|
-
}) => Promise<OAuth2Tokens>;
|
|
1177
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1178
|
-
getUserInfo(data: OAuth2Tokens & {
|
|
1179
|
-
user?: {
|
|
1180
|
-
name?: {
|
|
1181
|
-
firstName?: string;
|
|
1182
|
-
lastName?: string;
|
|
1183
|
-
};
|
|
1184
|
-
email?: string;
|
|
1185
|
-
} | undefined;
|
|
1186
|
-
}): Promise<{
|
|
1187
|
-
user: {
|
|
1188
|
-
id: string;
|
|
1189
|
-
name?: string;
|
|
1190
|
-
email?: string | null;
|
|
1191
|
-
image?: string;
|
|
1192
|
-
emailVerified: boolean;
|
|
1193
|
-
[key: string]: any;
|
|
1194
|
-
};
|
|
1195
|
-
data: any;
|
|
1196
|
-
} | null>;
|
|
1197
|
-
options: VkOption;
|
|
1198
|
-
};
|
|
1199
|
-
zoom: (userOptions: ZoomOptions) => {
|
|
1200
|
-
id: "zoom";
|
|
1201
|
-
name: string;
|
|
1202
|
-
createAuthorizationURL: ({
|
|
1203
|
-
state,
|
|
1204
|
-
redirectURI,
|
|
1205
|
-
codeVerifier
|
|
1206
|
-
}: {
|
|
1207
|
-
state: string;
|
|
1208
|
-
codeVerifier: string;
|
|
1209
|
-
scopes?: string[] | undefined;
|
|
1210
|
-
redirectURI: string;
|
|
1211
|
-
display?: string | undefined;
|
|
1212
|
-
loginHint?: string | undefined;
|
|
1213
|
-
}) => Promise<URL>;
|
|
1214
|
-
validateAuthorizationCode: ({
|
|
1215
|
-
code,
|
|
1216
|
-
redirectURI,
|
|
1217
|
-
codeVerifier
|
|
1218
|
-
}: {
|
|
1219
|
-
code: string;
|
|
1220
|
-
redirectURI: string;
|
|
1221
|
-
codeVerifier?: string | undefined;
|
|
1222
|
-
deviceId?: string | undefined;
|
|
1223
|
-
}) => Promise<OAuth2Tokens>;
|
|
1224
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1225
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1226
|
-
user?: {
|
|
1227
|
-
name?: {
|
|
1228
|
-
firstName?: string;
|
|
1229
|
-
lastName?: string;
|
|
1230
|
-
};
|
|
1231
|
-
email?: string;
|
|
1232
|
-
} | undefined;
|
|
1233
|
-
}): Promise<{
|
|
1234
|
-
user: {
|
|
1235
|
-
id: string;
|
|
1236
|
-
name?: string;
|
|
1237
|
-
email?: string | null;
|
|
1238
|
-
image?: string;
|
|
1239
|
-
emailVerified: boolean;
|
|
1240
|
-
[key: string]: any;
|
|
1241
|
-
};
|
|
1242
|
-
data: any;
|
|
1243
|
-
} | null>;
|
|
1244
|
-
};
|
|
1245
|
-
notion: (options: NotionOptions) => {
|
|
1246
|
-
id: "notion";
|
|
1247
|
-
name: string;
|
|
1248
|
-
createAuthorizationURL({
|
|
1249
|
-
state,
|
|
1250
|
-
scopes,
|
|
1251
|
-
loginHint,
|
|
1252
|
-
redirectURI
|
|
1253
|
-
}: {
|
|
1254
|
-
state: string;
|
|
1255
|
-
codeVerifier: string;
|
|
1256
|
-
scopes?: string[] | undefined;
|
|
1257
|
-
redirectURI: string;
|
|
1258
|
-
display?: string | undefined;
|
|
1259
|
-
loginHint?: string | undefined;
|
|
1260
|
-
}): Promise<URL>;
|
|
1261
|
-
validateAuthorizationCode: ({
|
|
1262
|
-
code,
|
|
1263
|
-
redirectURI
|
|
1264
|
-
}: {
|
|
1265
|
-
code: string;
|
|
1266
|
-
redirectURI: string;
|
|
1267
|
-
codeVerifier?: string | undefined;
|
|
1268
|
-
deviceId?: string | undefined;
|
|
1269
|
-
}) => Promise<OAuth2Tokens>;
|
|
1270
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1271
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1272
|
-
user?: {
|
|
1273
|
-
name?: {
|
|
1274
|
-
firstName?: string;
|
|
1275
|
-
lastName?: string;
|
|
1276
|
-
};
|
|
1277
|
-
email?: string;
|
|
1278
|
-
} | undefined;
|
|
1279
|
-
}): Promise<{
|
|
1280
|
-
user: {
|
|
1281
|
-
id: string;
|
|
1282
|
-
name?: string;
|
|
1283
|
-
email?: string | null;
|
|
1284
|
-
image?: string;
|
|
1285
|
-
emailVerified: boolean;
|
|
1286
|
-
[key: string]: any;
|
|
1287
|
-
};
|
|
1288
|
-
data: any;
|
|
1289
|
-
} | null>;
|
|
1290
|
-
options: NotionOptions;
|
|
1291
|
-
};
|
|
1292
|
-
kakao: (options: KakaoOptions) => {
|
|
1293
|
-
id: "kakao";
|
|
1294
|
-
name: string;
|
|
1295
|
-
createAuthorizationURL({
|
|
1296
|
-
state,
|
|
1297
|
-
scopes,
|
|
1298
|
-
redirectURI
|
|
1299
|
-
}: {
|
|
1300
|
-
state: string;
|
|
1301
|
-
codeVerifier: string;
|
|
1302
|
-
scopes?: string[] | undefined;
|
|
1303
|
-
redirectURI: string;
|
|
1304
|
-
display?: string | undefined;
|
|
1305
|
-
loginHint?: string | undefined;
|
|
1306
|
-
}): Promise<URL>;
|
|
1307
|
-
validateAuthorizationCode: ({
|
|
1308
|
-
code,
|
|
1309
|
-
redirectURI
|
|
1310
|
-
}: {
|
|
1311
|
-
code: string;
|
|
1312
|
-
redirectURI: string;
|
|
1313
|
-
codeVerifier?: string | undefined;
|
|
1314
|
-
deviceId?: string | undefined;
|
|
1315
|
-
}) => Promise<OAuth2Tokens>;
|
|
1316
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1317
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1318
|
-
user?: {
|
|
1319
|
-
name?: {
|
|
1320
|
-
firstName?: string;
|
|
1321
|
-
lastName?: string;
|
|
1322
|
-
};
|
|
1323
|
-
email?: string;
|
|
1324
|
-
} | undefined;
|
|
1325
|
-
}): Promise<{
|
|
1326
|
-
user: {
|
|
1327
|
-
id: string;
|
|
1328
|
-
name?: string;
|
|
1329
|
-
email?: string | null;
|
|
1330
|
-
image?: string;
|
|
1331
|
-
emailVerified: boolean;
|
|
1332
|
-
[key: string]: any;
|
|
1333
|
-
};
|
|
1334
|
-
data: any;
|
|
1335
|
-
} | {
|
|
1336
|
-
user: {
|
|
1337
|
-
id: string;
|
|
1338
|
-
name: string;
|
|
1339
|
-
email: string | undefined;
|
|
1340
|
-
image: string | undefined;
|
|
1341
|
-
emailVerified: boolean;
|
|
1342
|
-
} | {
|
|
1343
|
-
id: string;
|
|
1344
|
-
name: string;
|
|
1345
|
-
email: string | null;
|
|
1346
|
-
image: string;
|
|
1347
|
-
emailVerified: boolean;
|
|
1348
|
-
} | {
|
|
1349
|
-
id: string;
|
|
1350
|
-
name: string;
|
|
1351
|
-
email: string | null;
|
|
1352
|
-
image: string;
|
|
1353
|
-
emailVerified: boolean;
|
|
1354
|
-
};
|
|
1355
|
-
data: KakaoProfile;
|
|
1356
|
-
} | null>;
|
|
1357
|
-
options: KakaoOptions;
|
|
1358
|
-
};
|
|
1359
|
-
naver: (options: NaverOptions) => {
|
|
1360
|
-
id: "naver";
|
|
1361
|
-
name: string;
|
|
1362
|
-
createAuthorizationURL({
|
|
1363
|
-
state,
|
|
1364
|
-
scopes,
|
|
1365
|
-
redirectURI
|
|
1366
|
-
}: {
|
|
1367
|
-
state: string;
|
|
1368
|
-
codeVerifier: string;
|
|
1369
|
-
scopes?: string[] | undefined;
|
|
1370
|
-
redirectURI: string;
|
|
1371
|
-
display?: string | undefined;
|
|
1372
|
-
loginHint?: string | undefined;
|
|
1373
|
-
}): Promise<URL>;
|
|
1374
|
-
validateAuthorizationCode: ({
|
|
1375
|
-
code,
|
|
1376
|
-
redirectURI
|
|
1377
|
-
}: {
|
|
1378
|
-
code: string;
|
|
1379
|
-
redirectURI: string;
|
|
1380
|
-
codeVerifier?: string | undefined;
|
|
1381
|
-
deviceId?: string | undefined;
|
|
1382
|
-
}) => Promise<OAuth2Tokens>;
|
|
1383
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1384
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1385
|
-
user?: {
|
|
1386
|
-
name?: {
|
|
1387
|
-
firstName?: string;
|
|
1388
|
-
lastName?: string;
|
|
1389
|
-
};
|
|
1390
|
-
email?: string;
|
|
1391
|
-
} | undefined;
|
|
1392
|
-
}): Promise<{
|
|
1393
|
-
user: {
|
|
1394
|
-
id: string;
|
|
1395
|
-
name?: string;
|
|
1396
|
-
email?: string | null;
|
|
1397
|
-
image?: string;
|
|
1398
|
-
emailVerified: boolean;
|
|
1399
|
-
[key: string]: any;
|
|
1400
|
-
};
|
|
1401
|
-
data: any;
|
|
1402
|
-
} | {
|
|
1403
|
-
user: {
|
|
1404
|
-
id: string;
|
|
1405
|
-
name: string;
|
|
1406
|
-
email: string;
|
|
1407
|
-
image: string;
|
|
1408
|
-
emailVerified: boolean;
|
|
1409
|
-
} | {
|
|
1410
|
-
id: string;
|
|
1411
|
-
name: string;
|
|
1412
|
-
email: string | null;
|
|
1413
|
-
image: string;
|
|
1414
|
-
emailVerified: boolean;
|
|
1415
|
-
} | {
|
|
1416
|
-
id: string;
|
|
1417
|
-
name: string;
|
|
1418
|
-
email: string | null;
|
|
1419
|
-
image: string;
|
|
1420
|
-
emailVerified: boolean;
|
|
1421
|
-
};
|
|
1422
|
-
data: NaverProfile;
|
|
1423
|
-
} | null>;
|
|
1424
|
-
options: NaverOptions;
|
|
1425
|
-
};
|
|
1426
|
-
line: (options: LineOptions) => {
|
|
1427
|
-
id: "line";
|
|
1428
|
-
name: string;
|
|
1429
|
-
createAuthorizationURL({
|
|
1430
|
-
state,
|
|
1431
|
-
scopes,
|
|
1432
|
-
codeVerifier,
|
|
1433
|
-
redirectURI,
|
|
1434
|
-
loginHint
|
|
1435
|
-
}: {
|
|
1436
|
-
state: string;
|
|
1437
|
-
codeVerifier: string;
|
|
1438
|
-
scopes?: string[] | undefined;
|
|
1439
|
-
redirectURI: string;
|
|
1440
|
-
display?: string | undefined;
|
|
1441
|
-
loginHint?: string | undefined;
|
|
1442
|
-
}): Promise<URL>;
|
|
1443
|
-
validateAuthorizationCode: ({
|
|
1444
|
-
code,
|
|
1445
|
-
codeVerifier,
|
|
1446
|
-
redirectURI
|
|
1447
|
-
}: {
|
|
1448
|
-
code: string;
|
|
1449
|
-
redirectURI: string;
|
|
1450
|
-
codeVerifier?: string | undefined;
|
|
1451
|
-
deviceId?: string | undefined;
|
|
1452
|
-
}) => Promise<OAuth2Tokens>;
|
|
1453
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1454
|
-
verifyIdToken(token: string, nonce: string | undefined): Promise<boolean>;
|
|
1455
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1456
|
-
user?: {
|
|
1457
|
-
name?: {
|
|
1458
|
-
firstName?: string;
|
|
1459
|
-
lastName?: string;
|
|
1460
|
-
};
|
|
1461
|
-
email?: string;
|
|
1462
|
-
} | undefined;
|
|
1463
|
-
}): Promise<{
|
|
1464
|
-
user: {
|
|
1465
|
-
id: string;
|
|
1466
|
-
name?: string;
|
|
1467
|
-
email?: string | null;
|
|
1468
|
-
image?: string;
|
|
1469
|
-
emailVerified: boolean;
|
|
1470
|
-
[key: string]: any;
|
|
1471
|
-
};
|
|
1472
|
-
data: any;
|
|
1473
|
-
} | {
|
|
1474
|
-
user: {
|
|
1475
|
-
id: any;
|
|
1476
|
-
name: any;
|
|
1477
|
-
email: any;
|
|
1478
|
-
image: any;
|
|
1479
|
-
emailVerified: false;
|
|
1480
|
-
} | {
|
|
1481
|
-
id: any;
|
|
1482
|
-
name: any;
|
|
1483
|
-
email: any;
|
|
1484
|
-
image: any;
|
|
1485
|
-
emailVerified: boolean;
|
|
1486
|
-
} | {
|
|
1487
|
-
id: any;
|
|
1488
|
-
name: any;
|
|
1489
|
-
email: any;
|
|
1490
|
-
image: any;
|
|
1491
|
-
emailVerified: boolean;
|
|
1492
|
-
};
|
|
1493
|
-
data: any;
|
|
1494
|
-
} | null>;
|
|
1495
|
-
options: LineOptions;
|
|
1496
|
-
};
|
|
1497
|
-
paybin: (options: PaybinOptions) => {
|
|
1498
|
-
id: "paybin";
|
|
1499
|
-
name: string;
|
|
1500
|
-
createAuthorizationURL({
|
|
1501
|
-
state,
|
|
1502
|
-
scopes,
|
|
1503
|
-
codeVerifier,
|
|
1504
|
-
redirectURI,
|
|
1505
|
-
loginHint
|
|
1506
|
-
}: {
|
|
1507
|
-
state: string;
|
|
1508
|
-
codeVerifier: string;
|
|
1509
|
-
scopes?: string[] | undefined;
|
|
1510
|
-
redirectURI: string;
|
|
1511
|
-
display?: string | undefined;
|
|
1512
|
-
loginHint?: string | undefined;
|
|
1513
|
-
}): Promise<URL>;
|
|
1514
|
-
validateAuthorizationCode: ({
|
|
1515
|
-
code,
|
|
1516
|
-
codeVerifier,
|
|
1517
|
-
redirectURI
|
|
1518
|
-
}: {
|
|
1519
|
-
code: string;
|
|
1520
|
-
redirectURI: string;
|
|
1521
|
-
codeVerifier?: string | undefined;
|
|
1522
|
-
deviceId?: string | undefined;
|
|
1523
|
-
}) => Promise<OAuth2Tokens>;
|
|
1524
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1525
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1526
|
-
user?: {
|
|
1527
|
-
name?: {
|
|
1528
|
-
firstName?: string;
|
|
1529
|
-
lastName?: string;
|
|
1530
|
-
};
|
|
1531
|
-
email?: string;
|
|
1532
|
-
} | undefined;
|
|
1533
|
-
}): Promise<{
|
|
1534
|
-
user: {
|
|
1535
|
-
id: string;
|
|
1536
|
-
name?: string;
|
|
1537
|
-
email?: string | null;
|
|
1538
|
-
image?: string;
|
|
1539
|
-
emailVerified: boolean;
|
|
1540
|
-
[key: string]: any;
|
|
1541
|
-
};
|
|
1542
|
-
data: any;
|
|
1543
|
-
} | null>;
|
|
1544
|
-
options: PaybinOptions;
|
|
1545
|
-
};
|
|
1546
|
-
paypal: (options: PayPalOptions) => {
|
|
1547
|
-
id: "paypal";
|
|
1548
|
-
name: string;
|
|
1549
|
-
createAuthorizationURL({
|
|
1550
|
-
state,
|
|
1551
|
-
codeVerifier,
|
|
1552
|
-
redirectURI
|
|
1553
|
-
}: {
|
|
1554
|
-
state: string;
|
|
1555
|
-
codeVerifier: string;
|
|
1556
|
-
scopes?: string[] | undefined;
|
|
1557
|
-
redirectURI: string;
|
|
1558
|
-
display?: string | undefined;
|
|
1559
|
-
loginHint?: string | undefined;
|
|
1560
|
-
}): Promise<URL>;
|
|
1561
|
-
validateAuthorizationCode: ({
|
|
1562
|
-
code,
|
|
1563
|
-
redirectURI
|
|
1564
|
-
}: {
|
|
1565
|
-
code: string;
|
|
1566
|
-
redirectURI: string;
|
|
1567
|
-
codeVerifier?: string | undefined;
|
|
1568
|
-
deviceId?: string | undefined;
|
|
1569
|
-
}) => Promise<{
|
|
1570
|
-
accessToken: string;
|
|
1571
|
-
refreshToken: string | undefined;
|
|
1572
|
-
accessTokenExpiresAt: Date | undefined;
|
|
1573
|
-
idToken: string | undefined;
|
|
1574
|
-
}>;
|
|
1575
|
-
refreshAccessToken: ((refreshToken: string) => Promise<OAuth2Tokens>) | ((refreshToken: string) => Promise<{
|
|
1576
|
-
accessToken: any;
|
|
1577
|
-
refreshToken: any;
|
|
1578
|
-
accessTokenExpiresAt: Date | undefined;
|
|
1579
|
-
}>);
|
|
1580
|
-
verifyIdToken(token: string, nonce: string | undefined): Promise<boolean>;
|
|
1581
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1582
|
-
user?: {
|
|
1583
|
-
name?: {
|
|
1584
|
-
firstName?: string;
|
|
1585
|
-
lastName?: string;
|
|
1586
|
-
};
|
|
1587
|
-
email?: string;
|
|
1588
|
-
} | undefined;
|
|
1589
|
-
}): Promise<{
|
|
1590
|
-
user: {
|
|
1591
|
-
id: string;
|
|
1592
|
-
name?: string;
|
|
1593
|
-
email?: string | null;
|
|
1594
|
-
image?: string;
|
|
1595
|
-
emailVerified: boolean;
|
|
1596
|
-
[key: string]: any;
|
|
1597
|
-
};
|
|
1598
|
-
data: any;
|
|
1599
|
-
} | {
|
|
1600
|
-
user: {
|
|
1601
|
-
id: string;
|
|
1602
|
-
name: string;
|
|
1603
|
-
email: string;
|
|
1604
|
-
image: string | undefined;
|
|
1605
|
-
emailVerified: boolean;
|
|
1606
|
-
} | {
|
|
1607
|
-
id: string;
|
|
1608
|
-
name: string;
|
|
1609
|
-
email: string | null;
|
|
1610
|
-
image: string;
|
|
1611
|
-
emailVerified: boolean;
|
|
1612
|
-
} | {
|
|
1613
|
-
id: string;
|
|
1614
|
-
name: string;
|
|
1615
|
-
email: string | null;
|
|
1616
|
-
image: string;
|
|
1617
|
-
emailVerified: boolean;
|
|
1618
|
-
};
|
|
1619
|
-
data: PayPalProfile;
|
|
1620
|
-
} | null>;
|
|
1621
|
-
options: PayPalOptions;
|
|
1622
|
-
};
|
|
1623
|
-
polar: (options: PolarOptions) => {
|
|
1624
|
-
id: "polar";
|
|
1625
|
-
name: string;
|
|
1626
|
-
createAuthorizationURL({
|
|
1627
|
-
state,
|
|
1628
|
-
scopes,
|
|
1629
|
-
codeVerifier,
|
|
1630
|
-
redirectURI
|
|
1631
|
-
}: {
|
|
1632
|
-
state: string;
|
|
1633
|
-
codeVerifier: string;
|
|
1634
|
-
scopes?: string[] | undefined;
|
|
1635
|
-
redirectURI: string;
|
|
1636
|
-
display?: string | undefined;
|
|
1637
|
-
loginHint?: string | undefined;
|
|
1638
|
-
}): Promise<URL>;
|
|
1639
|
-
validateAuthorizationCode: ({
|
|
1640
|
-
code,
|
|
1641
|
-
codeVerifier,
|
|
1642
|
-
redirectURI
|
|
1643
|
-
}: {
|
|
1644
|
-
code: string;
|
|
1645
|
-
redirectURI: string;
|
|
1646
|
-
codeVerifier?: string | undefined;
|
|
1647
|
-
deviceId?: string | undefined;
|
|
1648
|
-
}) => Promise<OAuth2Tokens>;
|
|
1649
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1650
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1651
|
-
user?: {
|
|
1652
|
-
name?: {
|
|
1653
|
-
firstName?: string;
|
|
1654
|
-
lastName?: string;
|
|
1655
|
-
};
|
|
1656
|
-
email?: string;
|
|
1657
|
-
} | undefined;
|
|
1658
|
-
}): Promise<{
|
|
1659
|
-
user: {
|
|
1660
|
-
id: string;
|
|
1661
|
-
name?: string;
|
|
1662
|
-
email?: string | null;
|
|
1663
|
-
image?: string;
|
|
1664
|
-
emailVerified: boolean;
|
|
1665
|
-
[key: string]: any;
|
|
1666
|
-
};
|
|
1667
|
-
data: any;
|
|
1668
|
-
} | null>;
|
|
1669
|
-
options: PolarOptions;
|
|
1670
|
-
};
|
|
1671
|
-
railway: (options: RailwayOptions) => {
|
|
1672
|
-
id: "railway";
|
|
1673
|
-
name: string;
|
|
1674
|
-
createAuthorizationURL({
|
|
1675
|
-
state,
|
|
1676
|
-
scopes,
|
|
1677
|
-
codeVerifier,
|
|
1678
|
-
redirectURI
|
|
1679
|
-
}: {
|
|
1680
|
-
state: string;
|
|
1681
|
-
codeVerifier: string;
|
|
1682
|
-
scopes?: string[] | undefined;
|
|
1683
|
-
redirectURI: string;
|
|
1684
|
-
display?: string | undefined;
|
|
1685
|
-
loginHint?: string | undefined;
|
|
1686
|
-
}): Promise<URL>;
|
|
1687
|
-
validateAuthorizationCode: ({
|
|
1688
|
-
code,
|
|
1689
|
-
codeVerifier,
|
|
1690
|
-
redirectURI
|
|
1691
|
-
}: {
|
|
1692
|
-
code: string;
|
|
1693
|
-
redirectURI: string;
|
|
1694
|
-
codeVerifier?: string | undefined;
|
|
1695
|
-
deviceId?: string | undefined;
|
|
1696
|
-
}) => Promise<OAuth2Tokens>;
|
|
1697
|
-
refreshAccessToken: (refreshToken: string) => Promise<OAuth2Tokens>;
|
|
1698
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1699
|
-
user?: {
|
|
1700
|
-
name?: {
|
|
1701
|
-
firstName?: string;
|
|
1702
|
-
lastName?: string;
|
|
1703
|
-
};
|
|
1704
|
-
email?: string;
|
|
1705
|
-
} | undefined;
|
|
1706
|
-
}): Promise<{
|
|
1707
|
-
user: {
|
|
1708
|
-
id: string;
|
|
1709
|
-
name?: string;
|
|
1710
|
-
email?: string | null;
|
|
1711
|
-
image?: string;
|
|
1712
|
-
emailVerified: boolean;
|
|
1713
|
-
[key: string]: any;
|
|
1714
|
-
};
|
|
1715
|
-
data: any;
|
|
1716
|
-
} | null>;
|
|
1717
|
-
options: RailwayOptions;
|
|
1718
|
-
};
|
|
1719
|
-
vercel: (options: VercelOptions) => {
|
|
1720
|
-
id: "vercel";
|
|
1721
|
-
name: string;
|
|
1722
|
-
createAuthorizationURL({
|
|
1723
|
-
state,
|
|
1724
|
-
scopes,
|
|
1725
|
-
codeVerifier,
|
|
1726
|
-
redirectURI
|
|
1727
|
-
}: {
|
|
1728
|
-
state: string;
|
|
1729
|
-
codeVerifier: string;
|
|
1730
|
-
scopes?: string[] | undefined;
|
|
1731
|
-
redirectURI: string;
|
|
1732
|
-
display?: string | undefined;
|
|
1733
|
-
loginHint?: string | undefined;
|
|
1734
|
-
}): Promise<URL>;
|
|
1735
|
-
validateAuthorizationCode: ({
|
|
1736
|
-
code,
|
|
1737
|
-
codeVerifier,
|
|
1738
|
-
redirectURI
|
|
1739
|
-
}: {
|
|
1740
|
-
code: string;
|
|
1741
|
-
redirectURI: string;
|
|
1742
|
-
codeVerifier?: string | undefined;
|
|
1743
|
-
deviceId?: string | undefined;
|
|
1744
|
-
}) => Promise<OAuth2Tokens>;
|
|
1745
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1746
|
-
user?: {
|
|
1747
|
-
name?: {
|
|
1748
|
-
firstName?: string;
|
|
1749
|
-
lastName?: string;
|
|
1750
|
-
};
|
|
1751
|
-
email?: string;
|
|
1752
|
-
} | undefined;
|
|
1753
|
-
}): Promise<{
|
|
1754
|
-
user: {
|
|
1755
|
-
id: string;
|
|
1756
|
-
name?: string;
|
|
1757
|
-
email?: string | null;
|
|
1758
|
-
image?: string;
|
|
1759
|
-
emailVerified: boolean;
|
|
1760
|
-
[key: string]: any;
|
|
1761
|
-
};
|
|
1762
|
-
data: any;
|
|
1763
|
-
} | null>;
|
|
1764
|
-
options: VercelOptions;
|
|
1765
|
-
};
|
|
1766
|
-
wechat: (options: WeChatOptions) => {
|
|
1767
|
-
id: "wechat";
|
|
1768
|
-
name: string;
|
|
1769
|
-
createAuthorizationURL({
|
|
1770
|
-
state,
|
|
1771
|
-
scopes,
|
|
1772
|
-
redirectURI
|
|
1773
|
-
}: {
|
|
1774
|
-
state: string;
|
|
1775
|
-
codeVerifier: string;
|
|
1776
|
-
scopes?: string[] | undefined;
|
|
1777
|
-
redirectURI: string;
|
|
1778
|
-
display?: string | undefined;
|
|
1779
|
-
loginHint?: string | undefined;
|
|
1780
|
-
}): URL;
|
|
1781
|
-
validateAuthorizationCode: ({
|
|
1782
|
-
code
|
|
1783
|
-
}: {
|
|
1784
|
-
code: string;
|
|
1785
|
-
redirectURI: string;
|
|
1786
|
-
codeVerifier?: string | undefined;
|
|
1787
|
-
deviceId?: string | undefined;
|
|
1788
|
-
}) => Promise<{
|
|
1789
|
-
tokenType: "Bearer";
|
|
1790
|
-
accessToken: string;
|
|
1791
|
-
refreshToken: string;
|
|
1792
|
-
accessTokenExpiresAt: Date;
|
|
1793
|
-
scopes: string[];
|
|
1794
|
-
openid: string;
|
|
1795
|
-
unionid: string | undefined;
|
|
1796
|
-
}>;
|
|
1797
|
-
refreshAccessToken: ((refreshToken: string) => Promise<OAuth2Tokens>) | ((refreshToken: string) => Promise<{
|
|
1798
|
-
tokenType: "Bearer";
|
|
1799
|
-
accessToken: string;
|
|
1800
|
-
refreshToken: string;
|
|
1801
|
-
accessTokenExpiresAt: Date;
|
|
1802
|
-
scopes: string[];
|
|
1803
|
-
}>);
|
|
1804
|
-
getUserInfo(token: OAuth2Tokens & {
|
|
1805
|
-
user?: {
|
|
1806
|
-
name?: {
|
|
1807
|
-
firstName?: string;
|
|
1808
|
-
lastName?: string;
|
|
1809
|
-
};
|
|
1810
|
-
email?: string;
|
|
1811
|
-
} | undefined;
|
|
1812
|
-
}): Promise<{
|
|
1813
|
-
user: {
|
|
1814
|
-
id: string;
|
|
1815
|
-
name?: string;
|
|
1816
|
-
email?: string | null;
|
|
1817
|
-
image?: string;
|
|
1818
|
-
emailVerified: boolean;
|
|
1819
|
-
[key: string]: any;
|
|
1820
|
-
};
|
|
1821
|
-
data: any;
|
|
1822
|
-
} | null>;
|
|
1823
|
-
options: WeChatOptions;
|
|
1824
|
-
};
|
|
1825
|
-
};
|
|
1826
|
-
declare const socialProviderList: ["github", ...(keyof typeof socialProviders)[]];
|
|
1827
|
-
declare const SocialProviderListEnum: z.ZodType<SocialProviderList[number] | (string & {})>;
|
|
1828
|
-
type SocialProvider = z.infer<typeof SocialProviderListEnum>;
|
|
1829
|
-
type SocialProviders = { [K in SocialProviderList[number]]?: AwaitableFunction<Parameters<(typeof socialProviders)[K]>[0] & {
|
|
1830
|
-
enabled?: boolean | undefined;
|
|
1831
|
-
}> };
|
|
1832
|
-
type SocialProviderList = typeof socialProviderList;
|
|
1833
|
-
//#endregion
|
|
1834
|
-
export { AccountStatus, AppleNonConformUser, AppleOptions, AppleProfile, AtlassianOptions, AtlassianProfile, CognitoOptions, CognitoProfile, DiscordOptions, DiscordProfile, DropboxOptions, DropboxProfile, FacebookOptions, FacebookProfile, FigmaOptions, FigmaProfile, GithubOptions, GithubProfile, GitlabOptions, GitlabProfile, GoogleOptions, GoogleProfile, HuggingFaceOptions, HuggingFaceProfile, KakaoOptions, KakaoProfile, KickOptions, KickProfile, LineIdTokenPayload, LineOptions, LineUserInfo, LinearOptions, LinearProfile, LinearUser, LinkedInOptions, LinkedInProfile, LoginType, MicrosoftEntraIDProfile, MicrosoftOptions, NaverOptions, NaverProfile, NotionOptions, NotionProfile, PayPalOptions, PayPalProfile, PayPalTokenResponse, PaybinOptions, PaybinProfile, PhoneNumber, PolarOptions, PolarProfile, PronounOption, RailwayOptions, RailwayProfile, RedditOptions, RedditProfile, RobloxOptions, RobloxProfile, SalesforceOptions, SalesforceProfile, SlackOptions, SlackProfile, SocialProvider, SocialProviderList, SocialProviderListEnum, SocialProviders, SpotifyOptions, SpotifyProfile, TiktokOptions, TiktokProfile, TwitchOptions, TwitchProfile, TwitterOption, TwitterProfile, VercelOptions, VercelProfile, VkOption, VkProfile, WeChatOptions, WeChatProfile, ZoomOptions, ZoomProfile, apple, atlassian, cognito, discord, dropbox, facebook, figma, getApplePublicKey, getCognitoPublicKey, getGooglePublicKey, getMicrosoftPublicKey, github, gitlab, google, huggingface, kakao, kick, line, linear, linkedin, microsoft, naver, notion, paybin, paypal, polar, railway, reddit, roblox, salesforce, slack, socialProviderList, socialProviders, spotify, tiktok, twitch, twitter, vercel, vk, wechat, zoom };
|