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

# Module auth

Module: `noir_aztec::authwit::auth`

## Functions

- [assert_current_call_valid_authwit](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.assert_current_call_valid_authwit.md): Assert that `on_behalf_of` has authorized the current call with a valid authentication witness
- [assert_current_call_valid_authwit_public](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.assert_current_call_valid_authwit_public.md): Assert that `on_behalf_of` has authorized the current call in the authentication registry
- [assert_inner_hash_valid_authwit](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.assert_inner_hash_valid_authwit.md): Assert that a specific `inner_hash` is valid for the `on_behalf_of` address
- [assert_inner_hash_valid_authwit_public](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.assert_inner_hash_valid_authwit_public.md): Assert that `on_behalf_of` has authorized a specific `inner_hash` in the authentication registry
- [compute_authwit_message_hash](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.compute_authwit_message_hash.md): Computes the `message_hash` for the authentication witness
- [compute_authwit_message_hash_from_call](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.compute_authwit_message_hash_from_call.md): Compute the `message_hash` from a function call to be used by an authentication witness
- [compute_authwit_nullifier](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.compute_authwit_nullifier.md): Computes the `authwit_nullifier` for a specific `on_behalf_of` and `inner_hash`
- [compute_inner_authwit_hash](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.compute_inner_authwit_hash.md): Computes the `inner_hash` of the authentication witness
- [set_authorized](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.set_authorized.md): Helper function to set the authorization status of a message hash
- [set_reject_all](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/fn.set_reject_all.md): Helper function to reject all authwits

## Globals

- [IS_VALID_SELECTOR](/aztec-nr-api/v6.0.0/noir_aztec/authwit/auth/global.IS_VALID_SELECTOR.md): Authentication witness helper library
