File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/net45/WampSharp/WAMP2/V2/MetaApi/Session Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -26,11 +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" ,
35+ AuthMethod = welcomeDetails . AuthenticationMethod ?? "anonymous" ,
36+ AuthId = welcomeDetails . AuthenticationId ,
37+ AuthProvider = welcomeDetails . AuthenticationProvider ,
38+ AuthRole = welcomeDetails . AuthenticationRole ,
3439 TransportDetails = e . HelloDetails . TransportDetails
3540 } ;
3641
You can’t perform that action at this time.
0 commit comments