MCPcopy Index your code
hub / github.com/writefreely/writefreely / MockOAuthDatastore

Struct MockOAuthDatastore

oauth_test.go:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34type MockOAuthDatastore struct {
35 DoGenerateOAuthState func(context.Context, string, string, int64, string) (string, error)
36 DoValidateOAuthState func(context.Context, string) (string, string, int64, string, error)
37 DoGetIDForRemoteUser func(context.Context, string, string, string) (int64, error)
38 DoCreateUser func(*config.Config, *User, string) error
39 DoRecordRemoteUserID func(context.Context, int64, string, string, string, string) error
40 DoGetUserByID func(int64) (*User, error)
41}
42
43var _ OAuthDatastore = &MockOAuthDatastore{}
44

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected