@graphql-yoga/plugin-jwt
Version:
jwt plugin for GraphQL Yoga.
4 lines (3 loc) • 330 B
TypeScript
export type { JwtPluginOptions, ExtractTokenFunction, GetSigningKeyFunction } from './config.js';
export { extractFromCookie, extractFromHeader, extractFromConnectionParams, createInlineSigningKeyProvider, createRemoteJwksSigningKeyProvider, } from './utils.js';
export { useJWT, type JWTExtendContextFields } from './plugin.js';