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 SourceAuthenticate(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 |