MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / Get

Method Get

pkg/sessions/redis/client.go:13–13  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

11// Client is wrapper interface for redis.Client and redis.ClusterClient.
12type Client interface {
13 Get(ctx context.Context, key string) ([]byte, error)
14 Lock(key string) sessions.Lock
15 Set(ctx context.Context, key string, value []byte, expiration time.Duration) error
16 Del(ctx context.Context, key string) error

Callers 15

RunClientTestsFunction · 0.95
backendLogoutMethod · 0.65
OAuthCallbackMethod · 0.65
redeemCodeMethod · 0.65
TestBasicAuthPasswordFunction · 0.65
NewPassAccessTokenTestFunction · 0.65
TestGetJwtSessionFunction · 0.65
Test_prepareNoCacheFunction · 0.65
Test_noCacheHeadersFunction · 0.65

Implementers 2

clientpkg/sessions/redis/client.go
clusterClientpkg/sessions/redis/client.go

Calls

no outgoing calls

Tested by 15

RunClientTestsFunction · 0.76
TestBasicAuthPasswordFunction · 0.52
NewPassAccessTokenTestFunction · 0.52
TestGetJwtSessionFunction · 0.52
Test_prepareNoCacheFunction · 0.52
Test_noCacheHeadersFunction · 0.52
NewValidateSessionTestFunction · 0.52