MCPcopy Index your code
hub / github.com/apache/answer / NewAuthRepo

Function NewAuthRepo

internal/repo/auth/auth.go:42–46  ·  view source on GitHub ↗

NewAuthRepo new repository

(data *data.Data)

Source from the content-addressed store, hash-verified

40
41// NewAuthRepo new repository
42func NewAuthRepo(data *data.Data) auth.AuthRepo {
43 return &authRepo{
44 data: data,
45 }
46}
47
48// GetUserCacheInfo get user cache info
49func (ar *authRepo) GetUserCacheInfo(ctx context.Context, accessToken string) (userInfo *entity.UserCacheInfo, err error) {

Calls

no outgoing calls