Cloud migrations: create endpoint to create an access token (#84690)

* fix merge conflicts

* make token expiration configurable
This commit is contained in:
Bruno authored and GitHub committed 2024-03-25 12:43:28 -03:00
1 parent e237b89fe7
commit a2e21eac8c
12 files changed
+560 -53

No files matched your search

@@ -5,7 +5,7 @@ import (
)
type Service interface {
CreateToken(context.Context) error
CreateToken(context.Context) (CreateAccessTokenResponse, error)
ValidateToken(context.Context, string) error
SaveEncryptedToken(context.Context, string) error
// migration