UNPKG

@krypton-org/krypton-auth

Version:

Express authentication middleware, using GraphQL and JSON Web Tokens.

13 lines (12 loc) 439 B
declare type GraphiQLData = any; /** * When express-graphql receives a request which does not Accept JSON, but does * Accept HTML, it may present GraphiQL, the in-browser GraphQL explorer IDE. * * When shown, it will be pre-populated with the result of having executed the * requested query. * @argument GraphiQLData data * @render string HTML file */ export default function renderGraphiQL(data: GraphiQLData): string; export {};