File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
sdk/src/Core/Amazon.Runtime/Pipeline/Handlers Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "core" : {
3
+ "changeLogMessages" : [
4
+ " fix: Update auth resolver async flow to add user agent details after resolving identity"
5
+ ],
6
+ "type" : " patch" ,
7
+ "updateMinimum" : true
8
+ }
9
+ }
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ protected async Task PreInvokeAsync(IExecutionContext executionContext)
162
162
{
163
163
// We can use DefaultAWSCredentials if it was set by the user for these schemes.
164
164
executionContext . RequestContext . Identity = clientConfig . DefaultAWSCredentials ;
165
- return ;
165
+ break ;
166
166
}
167
167
168
168
if ( scheme is BearerAuthScheme && clientConfig . AWSTokenProvider != null )
@@ -178,7 +178,7 @@ protected async Task PreInvokeAsync(IExecutionContext executionContext)
178
178
}
179
179
180
180
executionContext . RequestContext . Identity = resolvedToken . Value ;
181
- return ;
181
+ break ;
182
182
}
183
183
184
184
var identityResolver = scheme . GetIdentityResolver ( clientConfig . IdentityResolverConfiguration ) ;
@@ -188,7 +188,7 @@ protected async Task PreInvokeAsync(IExecutionContext executionContext)
188
188
189
189
if ( executionContext . RequestContext . Identity != null )
190
190
{
191
- return ;
191
+ break ;
192
192
}
193
193
}
194
194
catch ( Exception ex )
You can’t perform that action at this time.
0 commit comments