Can bypass code verifier for specific clients

This commit is contained in:
2022-04-15 18:28:53 +02:00
parent 1d21b30b68
commit cac461e03d
3 changed files with 16 additions and 10 deletions

View File

@ -10,6 +10,7 @@ pub struct Client {
pub description: String,
pub secret: String,
pub redirect_uri: String,
pub disable_code_verifier: Option<bool>,
}
impl PartialEq for Client {

View File

@ -32,4 +32,6 @@ pub struct OpenIDConfig {
/// RECOMMENDED. JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.
pub claims_supported: Vec<&'static str>,
pub code_challenge_methods_supported: Vec<&'static str>,
}