Code-Sharp / WampSharp

A C# implementation of WAMP (The Web Application Messaging Protocol)
http://wampsharp.net
Other
385 stars 83 forks source link

Need to send additional IdToken apart from AccessToken to WampSessionAuthenticator #321

Closed sathishgks closed 3 years ago

sathishgks commented 3 years ago

We are using Wampsharp version 20.1.1. WampSessionAuthenticator is inherited and the below method is overridden for Authentication. "public override void Authenticate(string signature, AuthenticateExtraData extra)".

Currently Access Token is been sent and it is retrieved as part of "signature" - the first param in the above method.

We are in need to get the idToken as well, need this to be sent via "new autobahn.Connection({".

Request you to provide sample for the same

darkl commented 3 years ago

From the documentation:

In addition, a WampSessionAuthenticator class is provided, which is the same as WampSessionAuthenticator, but deserializes the given extra dictionary passed in AUTHENTICATE message to the given TExtra type.