authservice

package
v0.0.0-...-9f905e9 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServer

type AuthServer struct {
}

AuthServer ...

func (*AuthServer) EmailUsed

func (as *AuthServer) EmailUsed(ctx context.Context, in *pb.EmailUsedRequest) (*pb.UsedResponse, error)

EmailUsed ...

func (*AuthServer) Login

func (as *AuthServer) Login(ctx context.Context, in *pb.LoginRequest) (*pb.AuthResponse, error)

Login checks db for user info and returns a auth token

func (*AuthServer) Register

func (as *AuthServer) Register(ctx context.Context, in *pb.RegisterRequest) (*pb.AuthResponse, error)

Register ...

func (*AuthServer) UsernameUsed

func (as *AuthServer) UsernameUsed(ctx context.Context, in *pb.UsernameUsedRequest) (*pb.UsedResponse, error)

UsernameUsed ...

Jump to

Keyboard shortcuts

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