We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2ddc76 + 7066f79 commit 71396ffCopy full SHA for 71396ff
src/net45/WampSharp/WAMP2/V2/MetaApi/Session/SessionDescriptorService.cs
@@ -26,11 +26,16 @@ public SessionDescriptorService(IWampHostedRealm realm)
26
27
private void OnSessionCreated(object sender, WampSessionCreatedEventArgs e)
28
{
29
+ WelcomeDetails welcomeDetails = e.WelcomeDetails;
30
+
31
WampSessionDetails sessionDetails = new WampSessionDetails()
32
33
Realm = mRealm.Name,
34
Session = e.SessionId,
- AuthMethod = e.WelcomeDetails.AuthenticationMethod ?? "anonymous",
35
+ AuthMethod = welcomeDetails.AuthenticationMethod ?? "anonymous",
36
+ AuthId = welcomeDetails.AuthenticationId,
37
+ AuthProvider = welcomeDetails.AuthenticationProvider,
38
+ AuthRole = welcomeDetails.AuthenticationRole,
39
TransportDetails = e.HelloDetails.TransportDetails
40
};
41
0 commit comments