next-ims-lti-ssl
Version:
Next.js LTI middleware with SSL
11 lines (10 loc) • 337 B
TypeScript
import { GetServerSidePropsContext } from 'next';
interface GetLtiContext {
ctx: GetServerSidePropsContext;
key: string;
secret: string;
persist: boolean;
cookieOptions?: any;
}
declare const getLtiContext: ({ ctx, key, secret, persist, cookieOptions, }: GetLtiContext) => Promise<any>;
export default getLtiContext;