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

        self
    }
/// Add use_basic_authentication_with_access_code_grant into [`Config`].
///
/// Method takes one argument which exposes the use_basic_authentication_with_access_code_grant to the user.
/// Only activated for the accessCode flow. During the authorization_code request to the tokenUrl,
/// pass the [Client Password](https://tools.ietf.org/html/rfc6749#section-2.3.1) using the HTTP Basic Authentication scheme
/// (Authorization header with Basic base64encode(client_id + client_secret)).
/// The default is false
///
/// # Examples
///
/// ```rust
/// # use utoipa_swagger_ui::oauth;
/// let config = oauth::Config::new()
///     .use_basic_authentication_with_access_code_grant(true);
/// ```
Add use_basic_authentication_with_access_code_grant into [`Config`].
Method takes one argument which exposes the use_basic_authentication_with_access_code_grant to the user.
Only activated for the accessCode flow. During the authorization_code request to the tokenUrl,
pass the [Client Password] using the HTTP Basic Authentication scheme
(Authorization header with Basic base64encode(client_id + client_secret)).
The default is false
Add use_basic_authentication_with_access_code_grant into [ ` Config ` ] . Method takes one argument which exposes the use_basic_authentication_with_access_code_grant to the user . Only activated for the accessCode flow . During the authorization_code request to the tokenUrl pass the [ Client Password ] using the HTTP Basic Authentication scheme ( Authorization header with Basic base64encode ( client_id + client_secret )) . The default is false
pub fn use_basic_authentication_with_access_code_grant(
        mut self,
        use_basic_authentication_with_access_code_grant: bool,
    ) -> Self {
        self.use_basic_authentication_with_access_code_grant =
            Some(use_basic_authentication_with_access_code_grant);
        self
    }
pub fn use_basic_authentication_with_access_code_grant ( mut self , use_basic_authentication_with_access_code_grant : bool , ) -> Self { self . use_basic_authentication_with_access_code_grant = Some ( use_basic_authentication_with_access_code_grant ) ; self }
Add use_basic_authentication_with_access_code_grant into [`Config`].
Add use_basic_authentication_with_access_code_grant into [ ` Config ` ] .
mut self
use_basic_authentication_with_access_code_grant
bool
examples
None
use utoipa_swagger_ui::oauth;
let config = oauth::Config::new()
.use_basic_authentication_with_access_code_grant(true);
```
let config = oauth :: Config :: new () . use_basic_authentication_with_access_code_grant ( true ) ; ` ` `