We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e8fd83 commit 327e429Copy full SHA for 327e429
http/middleware/auth/auth.go
@@ -2,13 +2,8 @@ package auth_middleware
2
3
import (
4
"context"
5
- "crypto/sha256"
6
- "encoding/hex"
7
- "errors"
8
"net/http"
9
- "time"
10
11
- redisCache "github.com/go-redis/cache/v9"
12
ory "github.com/ory/client-go"
13
"github.com/spf13/viper"
14
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
@@ -18,7 +13,6 @@ import (
18
"go.opentelemetry.io/otel/trace"
19
20
15
"github.com/shortlink-org/go-sdk/auth/session"
21
- "github.com/shortlink-org/go-sdk/cache"
22
16
)
23
17
24
const tracerName = "github.com/shortlink-org/go-sdk/http/middleware/auth"
0 commit comments