uplink/internal/authentication/dummy_authenticator.go

12 lines
249 B
Go
Raw Normal View History

2018-04-10 11:48:51 +00:00
package authentication
import (
"git.icedream.tech/icedream/uplink/internal/channels"
)
type DummyAuthenticator struct{}
func (authenticator *DummyAuthenticator) VerifyUsernameAndPassword(*channels.Channel, string, string) bool {
return true
}