mirror of
https://github.com/OMGeeky/backup_config.git
synced 2025-12-28 15:28:07 +01:00
add setting for file/stdin auth code response
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "backup-config"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -57,6 +57,11 @@ client_secret = "YOUR_CLIENT_SECRET_HERE"
|
||||
# Default value: false
|
||||
#local_auth_redirect = false
|
||||
|
||||
# Decides if the auth-code should be stored in a file or be read by stdin
|
||||
#
|
||||
# Default value: true
|
||||
#use_file_auth_response = true
|
||||
|
||||
# The frequency for reading the auth file in seconds
|
||||
#
|
||||
# Default value: 10
|
||||
|
||||
Reference in New Issue
Block a user