Function activitypub_federation::actix_web::signing_actor
source · pub async fn signing_actor<A>(
request: &HttpRequest,
body: Option<Bytes>,
data: &Data<<A as Object>::DataType>
) -> Result<A, <A as Object>::Error>
Expand description
Checks whether the request is signed by an actor of type A, and returns the actor in question if a valid signature is found.