Remove default login

This commit is contained in:
Ben Toogood 2020-04-01 14:26:24 +01:00
parent f7655b71ea
commit 9cbbd71855

View File

@ -44,11 +44,6 @@ func (n *noop) Generate(id, secret string, opts ...GenerateOption) (*Account, er
}, nil }, nil
} }
// Login to an existing account
func (n *noop) Login(opts ...LoginOption) (*Account, error) {
return &Account{}, nil
}
// Grant access to a resource // Grant access to a resource
func (n *noop) Grant(role string, res *Resource) error { func (n *noop) Grant(role string, res *Resource) error {
return nil return nil