~james/core

core/web/src/lib/server/github/index.ts -rw-r--r-- 750 bytes
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 15 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export { seal, open } from "#lib/server/sealed.ts";
export { githubEnv } from "#lib/server/github/env.ts";
export { noStore, redirectTo, requestOrigin } from "#lib/server/github/http.ts";
export {
	githubCookies,
	GITHUB_STATE_COOKIE,
	GITHUB_TOKEN_COOKIE,
	TOKEN_TTL_SECONDS
} from "#lib/server/github/cookies.ts";
export { sessionActor, sessionToken, claimedServiceAuthDid } from "#lib/server/github/session.ts";
export {
	account,
	hasInstallations,
	avatarSource,
	GitHubUpstreamError
} from "#lib/server/github/api.ts";
export {
	CALLBACK_PATH,
	authorizeUrl,
	installUrl,
	newVerifier,
	pkceChallenge,
	landingFrom,
	landingHref,
	HOME_LANDING,
	type Landing,
	sealState,
	tokenFromCode,
	type GitHubState
} from "#lib/server/github/oauth.ts";