auth

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DefaultKeyLen = 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, authKey string) error

func (*Service) Register

func (s *Service) Register(id string) (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