This commit is contained in:
parent
b573e58961
commit
02370002aa
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@ func (c *RefuseAllConfig) Open(id string, logger log.Logger) (connector.Connecto
|
||||||
type RefuseAllConnector struct{}
|
type RefuseAllConnector struct{}
|
||||||
|
|
||||||
func (m *RefuseAllConnector) LoginURL(s connector.Scopes, callbackURL, state string) (string, error) {
|
func (m *RefuseAllConnector) LoginURL(s connector.Scopes, callbackURL, state string) (string, error) {
|
||||||
return "", fmt.Errorf("You shouldn't use this function")
|
return "", fmt.Errorf("you shouldn't use this function")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *RefuseAllConnector) HandleCallback(s connector.Scopes, r *http.Request) (identity connector.Identity, err error) {
|
func (m *RefuseAllConnector) HandleCallback(s connector.Scopes, r *http.Request) (identity connector.Identity, err error) {
|
||||||
return connector.Identity{}, fmt.Errorf("You shouldn't use this function")
|
return connector.Identity{}, fmt.Errorf("you shouldn't use this function")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue