Config class
The “config” verb is used for configuring or viewing an @sign’s block/allow list.
‘from’ verb functionality is determined by using the configurations of ‘config’ verb.
If an atsign is in block list, secondary server won’t allow it for authentication.
The @sign should be authenticated using cram/pkam verb prior to use the 'config' verb.
configuration syntax: block:add/remove
:@sign list
.
view syntax: block:show.
e.g.
1. config:block:add:@alice @bob //adds @alice, @bob into block list.
2. config:block:remove:@alice //removes @alice from block list.
3. config:block:show //displays block list @signs.
Config:set can be used to dynamically modify a limited number of server configurations. testingMode in server config.yaml has to be set to true for this to work.
e.g.
**set** - config:set:inbound_max_limit=2
**reset** - config:reset:inbound_max_limit
**print** - config:print:inbound_max_limit
Constructors
- Config()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
dependsOn(
) → Verb? -
Returns name of the Verb this verb depends on
override
-
name(
) → String -
Returns name of the verb
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requiresAuth(
) → bool -
Returns whether a verb requires authentication
override
-
syntax(
) → String -
Returns syntax of the verb in a regular expression format
override
-
toString(
) → String -
A string representation of this object.
inherited
-
usage(
) → String -
Returns a sample usage of the Verb
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited