We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ecce4e commit cb66960Copy full SHA for cb66960
2 files changed
app/composables/useAtproto.ts
@@ -4,6 +4,7 @@ type MiniDoc = {
4
pds: string
5
}
6
7
+/** @public */
8
export async function useAtproto() {
9
const {
10
data: user,
server/utils/atproto/oauth.ts
@@ -54,6 +54,7 @@ async function getOAuthSession(event: H3Event): Promise<OAuthSession | undefined
54
return await client.restore(currentSession.tokenSet.sub)
55
56
57
58
export function eventHandlerWithOAuthSession<T extends EventHandlerRequest, D>(
59
handler: EventHandlerWithOAuthSession<T, D>,
60
) {
0 commit comments