MCPcopy
hub / github.com/npmx-dev/npmx.dev / atproto.get.ts

File atproto.get.ts

server/api/auth/atproto.get.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { OAuthSession } from '@atproto/oauth-client-node'
2import { OAuthCallbackError } from '@atproto/oauth-client-node'
3import { createError, getQuery, sendRedirect, setCookie, getCookie, deleteCookie } from 'h3'
4import type { H3Event } from 'h3'

Callers

nothing calls this directly

Calls 6

useServerSessionFunction · 0.90
handleApiErrorFunction · 0.90
encodeOAuthStateFunction · 0.85
decodeOAuthStateFunction · 0.85
getMiniProfileFunction · 0.85
getNpmxProfileFunction · 0.85

Tested by

no test coverage detected