pub fn realm(mut self, realm: &str) -> Self {
        self.realm = Some(String::from(realm));

        self
    }
/// Add realm into [`Config`].
///
/// Method takes one argument which exposes the realm to the user.
/// realm query parameter (for oauth1) added to authorizationUrl and tokenUrl.
///
/// # Examples
///
/// ```rust
/// # use utoipa_swagger_ui::oauth;
/// let config = oauth::Config::new()
///     .realm("realm");
/// ```
Add realm into [`Config`].
Method takes one argument which exposes the realm to the user.
realm query parameter (for oauth1) added to authorizationUrl and tokenUrl.
Add realm into [ ` Config ` ] . Method takes one argument which exposes the realm to the user . realm query parameter ( for oauth1 ) added to authorizationUrl and tokenUrl .
pub fn realm(mut self, realm: &str) -> Self {
        self.realm = Some(String::from(realm));
        self
    }
pub fn realm ( mut self , realm : & str ) -> Self { self . realm = Some ( String :: from ( realm ) ) ; self }
Add realm into [`Config`].
Add realm into [ ` Config ` ] .
mut self
realm
&str
examples
None
use utoipa_swagger_ui::oauth;
let config = oauth::Config::new()
.realm("realm");
```
let config = oauth :: Config :: new () . realm ( " realm " ) ; ` ` `