Apply authentication to get headers for a request. # Arguments `parameter` - Information about the request being authenticated # Returns A HashMap containing the authenticated headers.
(&self, parameter: &RESTAuthParameter)
| 121 | /// # Returns |
| 122 | /// A HashMap containing the authenticated headers. |
| 123 | pub async fn apply(&self, parameter: &RESTAuthParameter) -> Result<HashMap<String, String>> { |
| 124 | self.auth_provider |
| 125 | .merge_auth_header(self.init_header.clone(), parameter) |
| 126 | .await |
| 127 | } |
| 128 | } |
no test coverage detected