ltijs
Version:
Easily turn your web application into a LTI 1.3 Learning Tool.
37 lines (36 loc) • 1.14 kB
TypeScript
import { z } from 'zod';
export declare const LoginRequestPayloadSchema: z.ZodPipe<z.ZodObject<{
iss: z.ZodString;
login_hint: z.ZodString;
target_link_uri: z.ZodString;
client_id: z.ZodOptional<z.ZodString>;
lti_message_hint: z.ZodOptional<z.ZodString>;
lti_deployment_id: z.ZodOptional<z.ZodString>;
lti_storage_target: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodTransform<{
iss: string;
loginHint: string;
targetLinkUri: string;
clientId: string | undefined;
ltiMessageHint: string | undefined;
ltiDeploymentId: string | undefined;
storageTarget: string | undefined;
}, {
iss: string;
login_hint: string;
target_link_uri: string;
client_id?: string | undefined;
lti_message_hint?: string | undefined;
lti_deployment_id?: string | undefined;
lti_storage_target?: string | undefined;
}>>;
export declare const LaunchCallbackPayloadSchema: z.ZodPipe<z.ZodObject<{
id_token: z.ZodString;
state: z.ZodString;
}, z.core.$strip>, z.ZodTransform<{
rawIdToken: string;
stateToken: string;
}, {
id_token: string;
state: string;
}>>;