Skip to main content

Module event_auth

Module event_auth 

Source

Re-exportsยง

pub use self::auth_types::AuthTypes;
pub use self::auth_types::auth_types_for_event;

Modulesยง

auth_types ๐Ÿ”’
room_member ๐Ÿ”’

Functionsยง

auth_check
check_power_level_maps ๐Ÿ”’
Check the power levels changes between the current and the new maps.
check_room_create ๐Ÿ”’
Check whether the given event passes the m.room.create authorization rules.
check_room_power_levels ๐Ÿ”’
Check whether the given event passes the m.room.power_levels authorization rules.
check_room_redaction ๐Ÿ”’
Check whether the given event passes the m.room.redaction authorization rules.
check_state_dependent_auth_rules ๐Ÿ”’
Check whether the incoming event passes the state-dependent authorization rules for the given room version rules.
check_state_independent_auth_rules ๐Ÿ”’
Check whether the incoming event passes the state-independent authorization rules for the given room version rules.