Show / Hide Table of Contents

    Interface IAuthenticationStrategy

    The authentication strategy decides how to whitelist a node

    Namespace: Catalyst.Abstractions.Rpc.Authentication
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IAuthenticationStrategy

    Methods

    | Improve this Doc View Source

    Authenticate(PeerId)

    Authenticates the specified peer identifier.

    Declaration
    bool Authenticate(PeerId peerIdentifier)
    Parameters
    Type Name Description
    PeerId peerIdentifier

    The peer identifier.

    Returns
    Type Description
    System.Boolean

    if [true] then whitelist node operator messages otherwise if [false] block messages

    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network