add setting for file/stdin auth code response

This commit is contained in:
OMGeeky
2023-10-21 00:18:41 +02:00
parent 022894abf9
commit ba18de57f8
3 changed files with 10 additions and 1 deletions

View File

@@ -46,6 +46,10 @@ pub struct Google {
#[config(default = false)]
pub local_auth_redirect: bool,
/// Decides if the auth-code should be stored in a file or be read by stdin
#[config(default = true)]
pub use_file_auth_response: bool,
/// The frequency for reading the auth file in seconds
#[config(default = 10)]
pub auth_file_read_frequency: u64,