Function withContextProvider
- withContextProvider<
C extends ActionContext = ActionContext,
I extends ZodType<any, any, any, I> = ZodTypeAny,
O extends ZodType<any, any, any, O> = ZodTypeAny,
S extends ZodType<any, any, any, S> = 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.