v1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredentialHandler

func NewCredentialHandler(service service.CredentialService) handler.CredentialHandler

NewCredentialHandler new instance of CredentialHandler using in house authentication

Types

type LoginInfo

type LoginInfo struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

LoginInfo JSON body to request login

type RegisterInfo

type RegisterInfo struct {
	Email           string                 `json:"email"`
	Password        string                 `json:"password"`
	ConfirmPassword string                 `json:"confirm_password"`
	Claims          map[string]interface{} `json:"claims"`
}

RegisterInfo JSON body to request register

Jump to

Keyboard shortcuts

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