auth

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const MinKeyLen = 32

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(store store.Store) (*Service, error)

func (*Service) Authenticate

func (s *Service) Authenticate(id, authToken string) error

func (*Service) Register

func (s *Service) Register(id, key string) error

func (*Service) Unregister

func (s *Service) Unregister(id string) error

Jump to

Keyboard shortcuts

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