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
9999 case OAuth2AuthenticationProperties :
100100 this . Scheme = AuthenticationScheme . OAuth2 ;
101101 break ;
102- case SecretBasedAuthenticationProperties :
102+ case SecretBasedAuthenticationProperties secretBasedProperties :
103+ this . PropertiesValue = secretBasedProperties . Secret ;
103104 break ;
104105 default :
105106 throw new NotSupportedException ( $ "The specified authentication info type '{ value . GetType ( ) } ' is not supported") ;
106107 }
107- this . PropertiesValue = DynamicObject . FromObject ( value ) ;
108+ this . PropertiesValue = DynamicObject . FromObject ( value ) ! ;
108109 }
109110 }
110111
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments