auth

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 49 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Package

func Package() config.ProtoCommandIface

Types

type AuthService

type AuthService struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, config *tauConfig.Node) (*AuthService, error)

func (*AuthService) Close

func (srv *AuthService) Close() error

func (*AuthService) GitHubTokenHTTPAuth

func (srv *AuthService) GitHubTokenHTTPAuth(ctx http.Context) (interface{}, error)

func (*AuthService) GitHubTokenHTTPAuthCleanup

func (srv *AuthService) GitHubTokenHTTPAuthCleanup(ctx http.Context) (interface{}, error)

func (*AuthService) KV

func (s *AuthService) KV() kv.KVDB

func (*AuthService) Node

func (s *AuthService) Node() peer.Node

type Config

type Config struct {
	config.Node `yaml:"z,omitempty"`
}

Directories

Path Synopsis
acme

Jump to

Keyboard shortcuts

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