You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-19 00:26:27 +03:00
CLI tool to sync the upstream IDPs with the config
This commit is contained in:
@@ -75,14 +75,17 @@ pub enum ImportAction {
|
||||
}
|
||||
|
||||
impl ImportAction {
|
||||
#[must_use]
|
||||
pub fn is_forced(&self) -> bool {
|
||||
matches!(self, Self::Force | Self::Require)
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn ignore(&self) -> bool {
|
||||
matches!(self, Self::Ignore)
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn is_required(&self) -> bool {
|
||||
matches!(self, Self::Require)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user