- firebaseAuth<I extends ZodType<any, any, any, I>>(
policy: (user: DecodedIdToken, input: TypeOf<I>) => void | Promise<void>,
): FunctionFlowAuth<I> Parameters
- policy: (user: DecodedIdToken, input: TypeOf<I>) => void | Promise<void>
- firebaseAuth<I extends ZodType<any, any, any, I>>(
policy: (user: DecodedIdToken, input: TypeOf<I>) => void | Promise<void>,
config: { required: true },
): FunctionFlowAuth<I> Parameters
- policy: (user: DecodedIdToken, input: TypeOf<I>) => void | Promise<void>
- config: { required: true }
- firebaseAuth<I extends ZodType<any, any, any, I>>(
policy: (
user: undefined | DecodedIdToken,
input: TypeOf<I>,
) => void | Promise<void>,
config: { required: false },
): FunctionFlowAuth<I> Parameters
- policy: (user: undefined | DecodedIdToken, input: TypeOf<I>) => void | Promise<void>
- config: { required: false }