Menu

Login Plugin

Description

The login_plugin supports the concept of applications authenticating with the EOSIO blockchain. The login_plugin API allows an application to verify whether an account is allowed to sign in order to satisfy a specified authority.

Usage

# config.ini
plugin = eosio::login_plugin
[options]
# command-line
nodeos ... --plugin eosio::login_plugin [options]

Options

These can be specified from both the nodeos command-line or the config.ini file:

Config Options for eosio::login_plugin:
  --max-login-requests arg (=1000000)   The maximum number of pending login 
                                        requests
  --max-login-timeout arg (=60)         The maximum timeout for pending login 
                                        requests (in seconds)

Dependencies

Load Dependency Examples

# config.ini
plugin = eosio::chain_plugin
[options]
plugin = eosio::http_plugin 
[options]
# command-line
nodeos ... --plugin eosio::chain_plugin [options]  \
           --plugin eosio::http_plugin [options]