Function withContextProvider
- withContextProvider<
C extends ActionContext = ActionContext,
I extends z.ZodType<any, any, any, I> = z.ZodTypeAny,
O extends z.ZodType<any, any, any, O> = z.ZodTypeAny,
S extends z.ZodType<any, any, any, S> = z.ZodTypeAny,
>(
flow: Flow<I, O, S>,
context: ContextProvider<C, I>,
): FlowWithContextProvider<C, I, O, S> Parameters
- flow: Flow<I, O, S>
- context: ContextProvider<C, I>
Adds an auth policy to the flow.