mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	refactor(core): use secrets for connector AuthType in connector integration (#1441)
This commit is contained in:
		@ -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()
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user