WAMP-CRA router-side authentication

July 30, 2017

WAMP-CRA router side authentication is supported. It is available as an abstract class named WampCraSessionAuthenticator which inherits from the WampSessionAuthenticator class. The class has two abstract properties needed to be implemented: AuthenticationChallenge and Secret - the AuthenticationChallenge is the challenge to be sent upon CHALLENGE message, the Secret is the secret used to compute the signature

It is also possible to add additional data (sent upon CHALLENGE message in extra parameter), such as salt, iterations and keylen by setting the CraChallengeDetails property.

WampCraStaticUserDb and WampStaticAuthenticationProvider

There exists predefined implementations for IWampCraUserDb, IWampAuthenticationProvider and IWampAuthorizer named WampCraStaticUserDb, WampStaticAuthenticationProvider and WampStaticAuthorizer that use predefined static data.