Skip to main content

IdentityGuardBridge

Trait IdentityGuardBridge 

Source
pub trait IdentityGuardBridge<I: IdentityModel, G: GuardLayer> {
    // Required method
    fn guard_layer_for_participant(
        &self,
        participant: &I::ParticipantId,
    ) -> LayerId;
}
Expand description

Bridge from identity participants to guard layers.

Required Methods§

Source

fn guard_layer_for_participant(&self, participant: &I::ParticipantId) -> LayerId

Resolve guard layer for a participant without mutating runtime state.

Implementors§