Make default_validation crate public
This will allow modules within biome to create the validation argument
themselves. This is needed so we can facilitate the use of different
validation objects. For example, we will need a validation argument that
ignores the expiration dates of tokens for the refresh token route.
@@ -78,7 +78,7 @@ where
extra_validation(claims)
}
-fn default_validation(issuer: &str) -> Validation {
+pub(crate) fn default_validation(issuer: &str) -> Validation {
let mut validation = Validation::default();
validation.leeway = DEFAULT_LEEWAY;
validation.iss = Some(issuer.to_string());
