oauth2/index.ts

better-auth · packages/core/src/oauth2/index.ts · typescript · MIT
auth

Re-exports OAuth2 utilities and types for authentication flows.

// Source: https://github.com/better-auth/better-auth | License: MIT | Copyright 2024 - present, Bereket Engida
// Provided via justclaw.it.com; keep this notice with the code.
export { additionalAuthorizationParamsSchema } from "./authorization-params";
export {
	decodeBasicCredentials,
	encodeBasicCredentials,
} from "./basic-credentials";
export type {
	ClientAssertionContext,
	ClientAssertionGetter,
	ClientAssertionGrantType,
	PrivateKeyJwtClientAssertionGetterOptions,
	PrivateKeyJwtSigningAlgorithm,
} from "./client-assertion";
export {
	CLIENT_ASSERTION_TYPE,
	createPrivateKeyJwtClientAssertionGetter,
	PRIVATE_KEY_JWT_SIGNING_ALGORITHMS,
	resolveClientAssertionParams,
	signPrivateKeyJwtClientAssertion,
} from "./client-assertion";
export {
	clientCredentialsToken,
	clientCredentialsT

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key