aboutsummaryrefslogtreecommitdiff
path: root/server/auth/github
diff options
context:
space:
mode:
Diffstat (limited to 'server/auth/github')
-rw-r--r--server/auth/github/github.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/auth/github/github.go b/server/auth/github/github.go
index a6a4a59..912caae 100644
--- a/server/auth/github/github.go
+++ b/server/auth/github/github.go
@@ -76,9 +76,9 @@ func (c *Config) Valid(token *oauth2.Token) bool {
return member
}
-// GitHub doesn't seem to allow token revocation - tokens are indefinite and
-// there are no refresh options etc. Returns nil to satisfy the Provider
-// interface.
+// Revoke is a no-op revoke method. GitHub doesn't seem to allow token
+// revocation - tokens are indefinite and there are no refresh options etc.
+// Returns nil to satisfy the Provider interface.
func (c *Config) Revoke(token *oauth2.Token) error {
return nil
}