Trait pallet_identity::traits::CheckKeyChangeAllowed
source · pub trait CheckKeyChangeAllowed<T: Config> {
// Required method
fn check_allowed(account_id: &T::IdtyIndex) -> bool;
}
Expand description
Trait for checking whether a key change is allowed for a given identity.
Required Methods§
sourcefn check_allowed(account_id: &T::IdtyIndex) -> bool
fn check_allowed(account_id: &T::IdtyIndex) -> bool
Determines if a key change is allowed for the given identity.
Object Safety§
This trait is not object safe.