This commit is contained in:
Daniel Ponte 2022-11-12 17:42:51 -05:00
parent 25c3e9421f
commit a540f94108
7 changed files with 33 additions and 40 deletions

View file

@ -127,4 +127,3 @@ func (hap *HomeAssistantProvider) FlowSchema() []provider.FlowSchemaItem {
func init() { func init() {
provider.Register(HomeAssistant, NewHAProvider) provider.Register(HomeAssistant, NewHAProvider)
} }

View file

@ -49,5 +49,3 @@ type FlowSchemaItem struct {
Name string `json:"name"` Name string `json:"name"`
Required bool `json:"required"` Required bool `json:"required"`
} }

View file

@ -73,4 +73,3 @@ func (hap *TrustedNetworksProvider) FlowSchema() []provider.FlowSchemaItem {
func init() { func init() {
provider.Register(TrustedNetworks, New) provider.Register(TrustedNetworks, New)
} }

View file

@ -1,8 +1,8 @@
package auth package auth
import ( import (
"fmt"
"encoding/json" "encoding/json"
"fmt"
"dynatron.me/x/blasphem/pkg/storage" "dynatron.me/x/blasphem/pkg/storage"
) )
@ -11,7 +11,6 @@ const (
AuthStoreKey = "auth" AuthStoreKey = "auth"
) )
type AuthStore interface { type AuthStore interface {
} }

View file

@ -38,5 +38,3 @@ func (a *Authenticator) getOrCreateUser(c *Credential) (*User, error) {
panic("not implemented") panic("not implemented")
return &User{}, nil return &User{}, nil
} }