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

* fix merge conflicts

* make token expiration configurable
This commit is contained in:
Bruno
2024-03-25 12:43:28 -03:00
committed by GitHub
parent e237b89fe7
commit a2e21eac8c
12 changed files with 561 additions and 54 deletions

View File

@@ -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