Skip to content

Commit ddb6484

Browse files
committed
Updates
1 parent e61f16f commit ddb6484

File tree

186 files changed

+18825
-3836
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+18825
-3836
lines changed

404.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,26 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1">
6-
<title>404 | 🔐  OAuth Callback</title>
6+
<title>404 | OAuth Callback</title>
77
<meta name="description" content="Not Found">
8-
<meta name="generator" content="VitePress v1.6.4">
9-
<link rel="preload stylesheet" href="/oauth-callback/assets/style.BD9RMcwd.css" as="style">
8+
<meta name="generator" content="VitePress v2.0.0-alpha.15">
9+
<link rel="preload stylesheet" href="/oauth-callback/assets/style.Bmmopr80.css" as="style">
1010
<link rel="preload stylesheet" href="/oauth-callback/vp-icons.css" as="style">
11-
12-
<script type="module" src="/oauth-callback/assets/app.D0tR7Pmc.js"></script>
11+
<script type="module" src="/oauth-callback/assets/chunks/metadata.eee92a38.js"></script>
12+
<script type="module" src="/oauth-callback/assets/app.BuEYZDGd.js"></script>
1313
<link rel="preload" href="/oauth-callback/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
14+
<meta name="theme-color" content="#3c8772">
15+
<meta property="og:type" content="website">
16+
<meta property="og:site_name" content="OAuth Callback">
17+
<meta property="og:url" content="https://kriasoft.com/oauth-callback/">
18+
<link rel="alternate" type="text/plain" href="/oauth-callback/llms.txt" title="LLM context">
19+
<link rel="alternate" type="text/plain" href="/oauth-callback/llms-full.txt" title="LLM context (full)">
1420
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
1521
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
1622
</head>
1723
<body>
1824
<div id="app"></div>
19-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api-examples.md\":\"OgeWQRHW\",\"api_browser-auth.md\":\"CLr3O9mP\",\"api_get-auth-code.md\":\"B8Ig0jml\",\"api_index.md\":\"DDMA2wbt\",\"api_oauth-error.md\":\"Cw32QZDH\",\"api_storage-providers.md\":\"CfN9XF_B\",\"api_types.md\":\"B_rAE3ke\",\"core-concepts.md\":\"SWzQrO5g\",\"examples_index.md\":\"BSWa2rCx\",\"examples_linear.md\":\"DAIXnOrx\",\"examples_notion.md\":\"C7X7-uHd\",\"getting-started.md\":\"BHRaeQYN\",\"index.md\":\"CfwGoqwg\",\"markdown-examples.md\":\"DqsenyTr\",\"what-is-oauth-callback.md\":\"hB3k2QdK\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"🔐  OAuth Callback\",\"description\":\"OAuth 2.0 callback handler for CLI tools & desktop apps. Cross-runtime (Node.js/Deno/Bun), MCP SDK integration, minimal deps, TypeScript-first.\",\"base\":\"/oauth-callback/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Guide\",\"link\":\"/getting-started\"},{\"text\":\"API\",\"link\":\"/api/get-auth-code\"},{\"text\":\"Examples\",\"link\":\"/examples/notion\"},{\"text\":\"v1.2.0\",\"items\":[{\"text\":\"Release Notes\",\"link\":\"https://github.com/kriasoft/oauth-callback/releases\"},{\"text\":\"npm\",\"link\":\"https://www.npmjs.com/package/oauth-callback\"}]}],\"sidebar\":[{\"text\":\"Introduction\",\"items\":[{\"text\":\"What is OAuth Callback?\",\"link\":\"/what-is-oauth-callback\"},{\"text\":\"Getting Started\",\"link\":\"/getting-started\"},{\"text\":\"Core Concepts\",\"link\":\"/core-concepts\"}]},{\"text\":\"API Reference\",\"items\":[{\"text\":\"getAuthCode\",\"link\":\"/api/get-auth-code\"},{\"text\":\"browserAuth\",\"link\":\"/api/browser-auth\"},{\"text\":\"Storage Providers\",\"link\":\"/api/storage-providers\"},{\"text\":\"OAuthError\",\"link\":\"/api/oauth-error\"},{\"text\":\"TypeScript Types\",\"link\":\"/api/types\"}]},{\"text\":\"Examples\",\"items\":[{\"text\":\"Notion MCP\",\"link\":\"/examples/notion\"},{\"text\":\"Linear MCP\",\"link\":\"/examples/linear\"}]}],\"search\":{\"provider\":\"local\"},\"editLink\":{\"pattern\":\"https://github.com/kriasoft/oauth-callback/edit/main/docs/:path\",\"text\":\"Edit this page on GitHub\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/kriasoft/oauth-callback\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/oauth-callback\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/bSsv7XM\"}],\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2025-present Konstantin Tarkus\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
25+
2026

2127
</body>
2228
</html>

api-examples.html

Lines changed: 26 additions & 48 deletions
Large diffs are not rendered by default.

api-examples.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
url: /oauth-callback/api-examples.md
3+
---
4+
5+
# Runtime API Examples
6+
7+
This page demonstrates usage of some of the runtime APIs provided by VitePress.
8+
9+
The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:
10+
11+
```md
12+
<script setup>
13+
import { useData } from 'vitepress'
14+
15+
const { theme, page, frontmatter } = useData()
16+
</script>
17+
18+
## Results
19+
20+
### Theme Data
21+
22+
<pre>{{ theme }}</pre>
23+
24+
### Page Data
25+
26+
<pre>{{ page }}</pre>
27+
28+
### Page Frontmatter
29+
30+
<pre>{{ frontmatter }}</pre>
31+
```
32+
33+
## Results
34+
35+
### Theme Data
36+
37+
### Page Data
38+
39+
### Page Frontmatter
40+
41+
## More
42+
43+
Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).

0 commit comments

Comments
 (0)