uplink/app/authentication/dummy_authenticator.go

12 lines
244 B
Go
Raw Normal View History

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