A context for a request.
Gets an object of the given class with the given values.
getSignedKey(): Promise<CryptographicKey | null>
Gets the public key of the sender, if any exists and it is verified.
Otherwise, null
is returned.
This can be used for implementing authorized fetch (also known as secure mode) in ActivityPub.
getSignedKeyOwner(): Promise<Actor | null>
Gets the owner of the signed key, if any exists and it is verified.
Otherwise, null
is returned.
This can be used for implementing authorized fetch (also known as secure mode) in ActivityPub.