Class AuthenticationHandler
DotNetty Handler in-charge of blocking RPC messages if the node operator is not trusted
Inherited Members
Namespace: Catalyst.Core.Lib.IO.Handlers
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class AuthenticationHandler : InboundChannelHandlerBase<ProtocolMessage>
Constructors
| Improve this Doc View SourceAuthenticationHandler(IAuthenticationStrategy)
Initializes a new instance of the AuthenticationHandler class.
Declaration
public AuthenticationHandler(IAuthenticationStrategy authenticationStrategy)
Parameters
Type | Name | Description |
---|---|---|
IAuthenticationStrategy | authenticationStrategy | The authentication strategy. |
Methods
| Improve this Doc View SourceChannelRead0(IChannelHandlerContext, ProtocolMessage)
Declaration
protected override void ChannelRead0(IChannelHandlerContext ctx, ProtocolMessage msg)
Parameters
Type | Name | Description |
---|---|---|
IChannelHandlerContext | ctx | |
ProtocolMessage | msg |
Overrides
Catalyst.Core.Lib.IO.Handlers.InboundChannelHandlerBase<ProtocolMessage>.ChannelRead0(IChannelHandlerContext, ProtocolMessage)