Skip to content

Commit 327e429

Browse files
committed
auth_middleware: fix
1 parent 6e8fd83 commit 327e429

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

http/middleware/auth/auth.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@ package auth_middleware
22

33
import (
44
"context"
5-
"crypto/sha256"
6-
"encoding/hex"
7-
"errors"
85
"net/http"
9-
"time"
106

11-
redisCache "github.com/go-redis/cache/v9"
127
ory "github.com/ory/client-go"
138
"github.com/spf13/viper"
149
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
@@ -18,7 +13,6 @@ import (
1813
"go.opentelemetry.io/otel/trace"
1914

2015
"github.com/shortlink-org/go-sdk/auth/session"
21-
"github.com/shortlink-org/go-sdk/cache"
2216
)
2317

2418
const tracerName = "github.com/shortlink-org/go-sdk/http/middleware/auth"

0 commit comments

Comments
 (0)