summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/auth.go b/auth.go
index 4bb60d5..23b6e8a 100644
--- a/auth.go
+++ b/auth.go
@@ -53,13 +53,6 @@ type msclaimsT struct {
}
func generateAuthorizationURL() (string, error) {
- /*
- * TODO: Handle nonces and anti-replay. Incremental nonces would be
- * nice on memory and speed (depending on how maps are implemented in
- * Go, hopefully it's some sort of btree), but that requires either
- * hacky atomics or having a multiple goroutines to handle
- * authentication, neither of which are desirable.
- */
nonce, err := randomString(tokenLength)
if err != nil {
return "", err