MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / LoadAuthContext

Method LoadAuthContext

api/pkg/repositories/user_repository.go:18–18  ·  view source on GitHub ↗

LoadAuthContext fetches an entities.AuthContext by apiKey

(ctx context.Context, apiKey string)

Source from the content-addressed store, hash-verified

16
17 // LoadAuthContext fetches an entities.AuthContext by apiKey
18 LoadAuthContext(ctx context.Context, apiKey string) (entities.AuthContext, error)
19
20 // Load an entities.User by entities.UserID
21 Load(ctx context.Context, userID entities.UserID) (*entities.User, error)

Callers 3

BearerAPIKeyAuthFunction · 0.65
APIKeyAuthFunction · 0.65
PhoneAPIKeyAuthFunction · 0.65

Implementers 1

gormUserRepositoryapi/pkg/repositories/gorm_user_reposit

Calls

no outgoing calls

Tested by

no test coverage detected