Remove default login
This commit is contained in:
parent
f7655b71ea
commit
9cbbd71855
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user