Begin refactor + selective auth

This commit is contained in:
Thom Seddon
2019-01-30 16:52:47 +00:00
parent 5c800a0170
commit ae95e8b2e5
12 changed files with 943 additions and 577 deletions

16
provider/providers.go Normal file
View File

@ -0,0 +1,16 @@
package provider
type Providers struct {
Google Google
}
type Token struct {
Token string `json:"access_token"`
}
type User struct {
Id string `json:"id"`
Email string `json:"email"`
Verified bool `json:"verified_email"`
Hd string `json:"hd"`
}