webfinger

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package webfinger implements the WebFinger endpoint (RFC 7033).

It serves GET /.well-known/webfinger, returning the OP issuer for a given resource identifier (typically acct: URIs).

WebFinger is used by OpenID Connect Discovery to allow clients to discover the issuer for a given user identifier. See: https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin implements the WebFinger endpoint (RFC 7033).

func NewWithConfig

func NewWithConfig() *Plugin

NewWithConfig creates a new WebFinger plugin.

func (*Plugin) Name

func (p *Plugin) Name() string

Name returns the plugin name.

func (*Plugin) Register

func (p *Plugin) Register(r chi.Router)

Register installs the GET /.well-known/webfinger route.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL