Function yup_oauth2::read_authorized_user_secret

source ยท
pub async fn read_authorized_user_secret<P: AsRef<Path>>(
    path: P,
) -> Result<AuthorizedUserSecret>
Expand description

Read an authorized user secret from a JSON file. You can obtain it by running on the client: gcloud auth application-default login. The file should be on Windows in: %APPDATA%/gcloud/application_default_credentials.json for other systems: $HOME/.config/gcloud/application_default_credentials.json.