feat: implement get access tokens api

This commit is contained in:
Steven
2023-08-06 20:25:23 +08:00
parent 994a90c8fb
commit ad988575b3
13 changed files with 612 additions and 140 deletions

View File

@ -29,7 +29,7 @@ func NewAPIV2Service(secret string, profile *profile.Profile, store *store.Store
authProvider.AuthenticationInterceptor,
),
)
apiv2pb.RegisterUserServiceServer(grpcServer, NewUserService(store))
apiv2pb.RegisterUserServiceServer(grpcServer, NewUserService(secret, store))
return &APIV2Service{
Secret: secret,