Show / Hide Table of Contents

    Class AuthenticationHandler

    DotNetty Handler in-charge of blocking RPC messages if the node operator is not trusted

    Inheritance
    System.Object
    InboundChannelHandlerBase<ProtocolMessage>
    AuthenticationHandler
    Inherited Members
    InboundChannelHandlerBase<ProtocolMessage>.Logger
    InboundChannelHandlerBase<ProtocolMessage>.ChannelRead(IChannelHandlerContext, Object)
    Namespace: Catalyst.Core.Lib.IO.Handlers
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public sealed class AuthenticationHandler : InboundChannelHandlerBase<ProtocolMessage>

    Constructors

    | Improve this Doc View Source

    AuthenticationHandler(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 Source

    ChannelRead0(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)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network