MCPcopy Index your code
hub / github.com/kopia/kopia / isAuthCookieValid

Method isAuthCookieValid

internal/server/request_context.go:22–22  ·  view source on GitHub ↗
(username, cookieValue string)

Source from the content-addressed store, hash-verified

20 deleteSourceManager(ctx context.Context, src snapshot.SourceInfo) bool
21 generateShortTermAuthCookie(username string, now time.Time) (string, error)
22 isAuthCookieValid(username, cookieValue string) bool
23 getAuthorizer() auth.Authorizer
24 getAuthenticator() auth.Authenticator
25 getOptions() *Options

Callers 1

isAuthenticatedMethod · 0.65

Implementers 1

Serverinternal/server/server.go

Calls

no outgoing calls

Tested by

no test coverage detected