auth

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode[T any](r *http.Request) (T, error)

func Mount

func Mount(srv *server.Server, r chi.Router)

func RandBase64

func RandBase64(size int) string

RandBase64 returns a string of random bytes encoded in raw base 64.

Types

type FediResponse

type FediResponse struct {
	URL string `json:"url"`
}

type Server

type Server struct {
	*server.Server

	RequireInvite bool
	BaseURL       string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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