Skip to main content

AssertionMethod

Type Alias AssertionMethod 

Source
pub type AssertionMethod = UrlOr<Multikey>;
Expand description

A reference to a verification method, either as a bare URL or an inlined Multikey document.

This is the value type shared by ActivityPub assertionMethod and authentication arrays per FEP-521a §4 and the W3C Controlled Identifiers spec.

Aliased Type§

pub enum AssertionMethod {
    Url(Url),
    Object(Multikey),
}

Variants§

§

Url(Url)

A bare URL reference to the remote resource.

§

Object(Multikey)

An inlined object of the target type.