auth

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallbackUrl

func CallbackUrl(version string) string

func GenerateLnUrl

func GenerateLnUrl(version, challenge string) (string, error)

Types

type LnUrlAuthRepository

type LnUrlAuthRepository interface {
}

type LnUrlAuthResolver

type LnUrlAuthResolver struct {
	Repository             LnUrlAuthRepository
	AuthenticationResolver *authentication.AuthenticationResolver
}

func NewResolver

func NewResolver(repositoryService *db.RepositoryService) *LnUrlAuthResolver

func (*LnUrlAuthResolver) GetLnUrlAuth

func (r *LnUrlAuthResolver) GetLnUrlAuth(rw http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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