(name: &str, env_var: &str, required: bool)
| 3082 | } |
| 3083 | |
| 3084 | fn static_credential(name: &str, env_var: &str, required: bool) -> ProviderProfileCredential { |
| 3085 | ProviderProfileCredential { |
| 3086 | name: name.to_string(), |
| 3087 | description: String::new(), |
| 3088 | env_vars: vec![env_var.to_string()], |
| 3089 | required, |
| 3090 | auth_style: "bearer".to_string(), |
| 3091 | header_name: "authorization".to_string(), |
| 3092 | query_param: String::new(), |
| 3093 | refresh: None, |
| 3094 | path_template: String::new(), |
| 3095 | token_grant: None, |
| 3096 | } |
| 3097 | } |
| 3098 | |
| 3099 | fn token_grant_credential(name: &str) -> ProviderProfileCredential { |
| 3100 | ProviderProfileCredential { |
nothing calls this directly
no outgoing calls
no test coverage detected