diff options
Diffstat (limited to 'server/oauth2/provider.go')
-rw-r--r-- | server/oauth2/provider.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/server/oauth2/provider.go b/server/oauth2/provider.go deleted file mode 100644 index c43931c0..00000000 --- a/server/oauth2/provider.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2017 Frédéric Guillot. All rights reserved. -// Use of this source code is governed by the Apache 2.0 -// license that can be found in the LICENSE file. - -package oauth2 - -// Provider is an interface for OAuth2 providers. -type Provider interface { - GetUserExtraKey() string - GetRedirectURL(state string) string - GetProfile(code string) (*Profile, error) -} |