refactor(core): use secrets for connector AuthType in connector integration (#1441)

This commit is contained in:
Shankar Singh C
2023-07-26 17:04:49 +05:30
committed by GitHub
parent e6a5e9fa72
commit d068569f4d
80 changed files with 491 additions and 393 deletions

View File

@ -38,11 +38,11 @@ pub fn missing_field_err(
type Error = error_stack::Report<errors::ConnectorError>;
pub trait AccessTokenRequestInfo {
fn get_request_id(&self) -> Result<String, Error>;
fn get_request_id(&self) -> Result<Secret<String>, Error>;
}
impl AccessTokenRequestInfo for types::RefreshTokenRouterData {
fn get_request_id(&self) -> Result<String, Error> {
fn get_request_id(&self) -> Result<Secret<String>, Error> {
self.request
.id
.clone()