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 ๐Ÿ”’

Enumsยง

AuthCheckOutcome
Describes a completed event authorization decision.

Functionsยง

auth_check
Checks an event against its state-independent and state-dependent rules.
auth_check_outcome ๐Ÿ”’
auth_input_error ๐Ÿ”’
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.
classify_auth_error ๐Ÿ”’