- Fully Qualified Class Name:
ParagonIE\Gossamer\Protocol\Action
An action encapsulates a verb
and the necessary relevant data to enact some
change on the local database.
Arguments:
string
- Verb (optional)
Constant | Value | Meaning |
---|---|---|
Action::VERB_APPEND_KEY |
AppendKey |
Append a new public key for a new provider. |
Action::VERB_REVOKE_KEY |
RevokeKey |
Revoke an existing public key for a given provider. |
Action::VERB_APPEND_UPDATE |
AppendUpdate |
Append an update for a project owned by this provider. |
Action::VERB_REVOKE_UPDATE |
RevokeUpdate |
Revoke an existing update for a project owned by this provider. |
Special rule: The first chronological verb
seen for a given provider
MUST be
an AppendKey
. The first chronological verb
seen for a given project owned by any
provider
MUST be an AppendUpdate
.
Arguments:
Message
- Message object
Returns an instance of Action
.
This method returns an instance of an Action
from a given Message
object.
This is the preferred way of extracting Action
objects from Message
objects.
Returns an instance of Message
Arguments:
string
- Signing Key
Returns an instance of SignedMessage
.
Returns a string
.
Returns a string
.
Returns a string
.
Returns a string
.
Returns a string
.
Returns a string
.
Returns a string
.
Returns a string
.
Arguments:
DbInterface
- Database
Returns a bool
.
This is the preferred way of changing a database based on an Action
definition.
Arguments:
string
Returns a new instance of Action
.
Arguments:
array
Returns a new instance of Action
.
Arguments:
string
Returns a new instance of Action
.
Arguments:
string
Returns a new instance of Action
.
Arguments:
string
Returns a new instance of Action
.
Arguments:
string
Returns a new instance of Action
.
Arguments:
string
Returns a new instance of Action
.
Arguments:
string
Returns a new instance of Action
.