summaryrefslogtreecommitdiff
path: root/src/oauth.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/oauth.go')
-rw-r--r--src/oauth.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/oauth.go b/src/oauth.go
index 96ce8b2..08ec07e 100644
--- a/src/oauth.go
+++ b/src/oauth.go
@@ -9,7 +9,6 @@ import (
"fmt"
"net/http"
"net/url"
- "time"
)
// Generates a random base64 string to be used for state
@@ -74,11 +73,6 @@ type OAuthExchangeSession struct {
Server http.Server
}
-func GenerateTimeSeconds() int64 {
- current := time.Now()
- return current.Unix()
-}
-
// Struct that defines the json format for /.well-known/vpn-user-portal"
type OAuthToken struct {
Access string `json:"access_token"`