Struct crud_auth_no_auth::Auth
source · pub struct Auth {}Trait Implementations§
source§impl CrudAuth for Auth
impl CrudAuth for Auth
source§fn clap_auth(&self, app: Command) -> Command
fn clap_auth(&self, app: Command) -> Command
Create the arguments for the CLI.
For examples, it can create the
--login, --password arguments.source§fn clap_matches(
&mut self,
_matches: &ArgMatches,
_app: &mut Command,
_settings: &Config
)
fn clap_matches(
&mut self,
_matches: &ArgMatches,
_app: &mut Command,
_settings: &Config
)
Process the arguments created by [clap_auth] function.
source§fn auth_header(&self) -> (String, String)
fn auth_header(&self) -> (String, String)
Create an authentification header as a pair (name,valeur)
source§fn error_help_message(&self) -> String
fn error_help_message(&self) -> String
The helpmessage displayed when the user is unauthorized.