File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111* SPDX-License-Identifier: Apache-2.0
1212********************************************************************************/
1313
14- using System . IdentityModel . Claims ;
1514using System . Security . Claims ;
1615using System . Text . Encodings . Web ;
1716using AasxServerStandardBib . Logging ;
@@ -55,12 +54,12 @@ protected override Task<AuthenticateResult> HandleAuthenticateAsync()
5554
5655 _logger . LogInformation ( $ "Request is successfully authenticated.") ;
5756
58- _logger . LogInformation ( "***************** LIST CLAIMS ********************" ) ;
57+ _logger . LogInformation ( "***************** LIST TICKET CLAIMS ********************" ) ;
5958
60- foreach ( var claim in ticket . Principal . Claims )
59+ foreach ( var tickeClaim in ticket . Principal . Claims )
6160 {
62- _logger . LogInformation ( $ "CLAIM value { claim ? . Value } ") ;
63- _logger . LogInformation ( $ "CLAIM issuer { claim ? . Issuer } ") ;
61+ _logger . LogInformation ( $ "CLAIM value { tickeClaim ? . Value } ") ;
62+ _logger . LogInformation ( $ "CLAIM issuer { tickeClaim ? . Issuer } ") ;
6463 _logger . LogInformation ( $ "next claim") ;
6564 }
6665
You can’t perform that action at this time.
0 commit comments