pub fn use_pkce_with_authorization_code_grant(
        mut self,
        use_pkce_with_authorization_code_grant: bool,
    ) -> Self {
        self.use_pkce_with_authorization_code_grant = Some(use_pkce_with_authorization_code_grant);

        self
    }
/// Add use_pkce_with_authorization_code_grant into [`Config`].
///
/// Method takes one argument which exposes the use_pkce_with_authorization_code_grant to the user.
/// Only applies to authorizatonCode flows. [Proof Key for Code Exchange](https://tools.ietf.org/html/rfc7636)
/// brings enhanced security for OAuth public clients.
/// The default is false
///
/// # Examples
///
/// ```rust
/// # use utoipa_swagger_ui::oauth;
/// let config = oauth::Config::new()
///     .use_pkce_with_authorization_code_grant(true);
/// ```
Add use_pkce_with_authorization_code_grant into [`Config`].
Method takes one argument which exposes the use_pkce_with_authorization_code_grant to the user.
Only applies to authorizatonCode flows. [Proof Key for Code Exchange]
brings enhanced security for OAuth public clients.
The default is false
Add use_pkce_with_authorization_code_grant into [ ` Config ` ] . Method takes one argument which exposes the use_pkce_with_authorization_code_grant to the user . Only applies to authorizatonCode flows . [ Proof Key for Code Exchange ] brings enhanced security for OAuth public clients . The default is false
pub fn use_pkce_with_authorization_code_grant(
        mut self,
        use_pkce_with_authorization_code_grant: bool,
    ) -> Self {
        self.use_pkce_with_authorization_code_grant = Some(use_pkce_with_authorization_code_grant);
        self
    }
pub fn use_pkce_with_authorization_code_grant ( mut self , use_pkce_with_authorization_code_grant : bool , ) -> Self { self . use_pkce_with_authorization_code_grant = Some ( use_pkce_with_authorization_code_grant ) ; self }
Add use_pkce_with_authorization_code_grant into [`Config`].
Add use_pkce_with_authorization_code_grant into [ ` Config ` ] .
mut self
use_pkce_with_authorization_code_grant
bool
examples
None
use utoipa_swagger_ui::oauth;
let config = oauth::Config::new()
.use_pkce_with_authorization_code_grant(true);
```
let config = oauth :: Config :: new () . use_pkce_with_authorization_code_grant ( true ) ; ` ` `