Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
WebFinger client library for ActivityPub
Functions
Looks up a WebFinger resource.
Interfaces
Represents a link. See also RFC 7033 section 4.4.4.
- href: string
A URI pointing to the target resource.
- properties: Readonly<Record<string, string>>
Conveys additional information about the link relation.
- rel: string
The link's relation type, which is either a URI or a registered relation type (see RFC 5988).
- template: string
A URI Template (RFC 6570) that can be used to construct URIs by substituting variables. Used primarily for subscription endpoints where parameters like account URIs need to be dynamically inserted.
- titles: Readonly<Record<string, string>>
Human-readable titles describing the link relation. If the language is unknown or unspecified, the key is
"und". - type: string
The media type of the target resource (see RFC 6838).
Options for lookupWebFinger.
- allowPrivateAddress: boolean
Whether to allow private IP addresses in the URL.
- maxRedirection: number
The maximum number of redirections to follow.
- signal: AbortSignal
AbortSignal for cancelling the request.
- tracerProvider: TracerProvider
The OpenTelemetry tracer provider. If omitted, the global tracer provider is used.
- userAgent: GetUserAgentOptions | string
The options for making
User-Agentheader. If a string is given, it is used as theUser-Agentheader value. If an object is given, it is passed to getUserAgent to generate theUser-Agentheader value.
Describes a resource. See also RFC 7033 section 4.4.
- aliases: readonly string[]
URIs that identify the same entity as the
subject. - links: readonly Link[]
Links to other resources.
- properties: Readonly<Record<string, string>>
Conveys additional information about the
subjectof this descriptor. - subject: string
A URI that identifies the entity that this descriptor describes.