File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/net45/WampSharp/WAMP2/V2/MetaApi/Session Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,16 @@ public SessionDescriptorService(IWampHostedRealm realm)
2626
2727 private void OnSessionCreated ( object sender , WampSessionCreatedEventArgs e )
2828 {
29+ WelcomeDetails welcomeDetails = e . WelcomeDetails ;
30+
2931 WampSessionDetails sessionDetails = new WampSessionDetails ( )
3032 {
3133 Realm = mRealm . Name ,
3234 Session = e . SessionId ,
33- AuthMethod = e . WelcomeDetails . AuthenticationMethod ?? "anonymous" ,
34- AuthId = e . WelcomeDetails . AuthenticationId ,
35- AuthProvider = e . WelcomeDetails . AuthenticationProvider ,
36- AuthRole = e . WelcomeDetails . AuthenticationRole ,
35+ AuthMethod = welcomeDetails . AuthenticationMethod ?? "anonymous" ,
36+ AuthId = welcomeDetails . AuthenticationId ,
37+ AuthProvider = welcomeDetails . AuthenticationProvider ,
38+ AuthRole = welcomeDetails . AuthenticationRole ,
3739 TransportDetails = e . HelloDetails . TransportDetails
3840 } ;
3941
You can’t perform that action at this time.
0 commit comments