better-auth
Version:
The most comprehensive authentication framework for TypeScript.
15 lines • 796 B
text/typescript
import { AuthorizationQuery, Client, CodeVerificationValue, OAuthAccessToken, OIDCMetadata, OIDCOptions, TokenBody } from "./types.mjs";
import { oidcProvider } from "./index.mjs";
//#region src/plugins/oidc-provider/client.d.ts
/**
* @deprecated Use `@better-auth/oauth-provider` instead. This plugin will be removed in the next major version.
* @see https://www.better-auth.com/docs/plugins/oauth-provider
*/
declare const oidcClient: () => {
id: "oidc-client";
version: string;
$InferServerPlugin: ReturnType<typeof oidcProvider>;
};
type OidcClientPlugin = ReturnType<typeof oidcClient>;
//#endregion
export { type AuthorizationQuery, type Client, type CodeVerificationValue, type OAuthAccessToken, type OIDCMetadata, type OIDCOptions, OidcClientPlugin, type TokenBody, oidcClient };