> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function set_reject_all

Module: `noir_aztec::authwit::auth`

```rust
pub unconstrained fn set_reject_all(context: PublicContext, reject: bool)
```

Helper function to reject all authwits

Wraps a public call to the authentication registry to set the `reject_all` flag

@param reject True if all authwits should be rejected, false otherwise
