use Router;
use *;
use crateKeycloak;
/// KeycloakAuthInitializer is an initializer for the Keycloak authentication layer.
/// Use this if you want to add Keycloak authentication to all routes in your application.
/// It will automatically read the Keycloak settings from the application context.
/// This initializer is typically used in the `app.rs` file of your Loco application.
/// If you want to have more control over the Keycloak layer, you can use the `Keycloak` struct
/// and add the layer to the routes directly.
/// ## Example
/// ```rust
/// async fn initializers(_ctx: &AppContext) -> Result<Vec<Box<dyn Initializer>>> {
/// let keycloak_auth = loco_keycloak_auth::initializer::KeycloakAuthInitializer {};
/// Ok(vec![Box::new(keycloak_auth)])
/// }
/// ```
;