Class AdminInterface

Class for Admin interface

class AdminInterface
  : agora.api.Admin.NodeControlAPI ;

If admin is enabled this interface listens by AdminConfig's address of config Contains services that include authentication QR. This interface must be in a path accessible only to the owner of the node.

This will added by node management and monitoring interfaces.

Constructors

NameDescription
this (key_pair, clock, enroll_man) Constructor

Fields

NameTypeDescription
log LoggerLogger instance

Methods

NameDescription
encryptionkey (app, height, contentType, vary) Respond with QR code containing EncryptionKey.
postLogger (name, propagate, level, additive, console, file)
validator (contentType, vary) Respond with QR code containing login information.

API

GET /login : Log in to the admin server GET /loginQR : Respond with QR code containing login information. GET /encryptionKeyQR : Respond with QR code containing EncryptionKey.