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

# Trait AuthorizationInterface

Module: `noir_aztec::authwit::authorization_interface`

```rust
pub trait AuthorizationInterface {
    // Required methods
    pub fn get_authorization_selector(self) -> AuthorizationSelector;
}
```

Allows getting the selector for an authorization struct (see src/macros/authorization.nr) used to uniquely identify them and avoiding collisions. This is important because authorizations are emitted as offchain effects and their unique selector allows users/wallets to decode them correctly

## Required methods

```rust
pub fn get_authorization_selector(self) -> AuthorizationSelector
```

Returns the unique identifier of the authorization type.

## Implementors

```rust
impl AuthorizationInterface for CallAuthorization
```
