authenticating

package
v0.0.0-...-d40265a Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Register(ctx context.Context, username, organization, password string) (string, errors.Api)
	Login(ctx context.Context, username, password string) (string, errors.Api)
	Authenticate(ctx context.Context, accessToken string) (*users.AuthedUser, errors.Api)
}

func NewService

func NewService(repo users.UserRepo, permissionInit initializing.Service) Service

Jump to

Keyboard shortcuts

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