pub trait SignInLoader: Send + Sync {
// Required method
fn load(
&self,
provider: &str,
config: Option<&ProviderConfig>,
) -> Result<Arc<dyn SignInPolicy>, String>;
}Expand description
Builds a sign-in policy provider from the unex record’s sign_in_policy: the provider’s
configuration checked against the provider’s own schema, so a policy that does not build is
refused before it is stored or put in force.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".