File tree Expand file tree Collapse file tree 2 files changed +3
-47
lines changed
src/ServerlessWorkflow.Sdk/Models Expand file tree Collapse file tree 2 files changed +3
-47
lines changed Original file line number Diff line number Diff line change @@ -99,12 +99,13 @@ public virtual AuthenticationProperties Properties
99
99
case OAuth2AuthenticationProperties :
100
100
this . Scheme = AuthenticationScheme . OAuth2 ;
101
101
break ;
102
- case SecretBasedAuthenticationProperties :
102
+ case SecretBasedAuthenticationProperties secretBasedProperties :
103
+ this . PropertiesValue = secretBasedProperties . Secret ;
103
104
break ;
104
105
default :
105
106
throw new NotSupportedException ( $ "The specified authentication info type '{ value . GetType ( ) } ' is not supported") ;
106
107
}
107
- this . PropertiesValue = DynamicObject . FromObject ( value ) ;
108
+ this . PropertiesValue = DynamicObject . FromObject ( value ) ! ;
108
109
}
109
110
}
110
111
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments