Skip to content

Commit

Permalink
fix: acorn -> disposable, remove extra file
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-kugler committed Aug 21, 2023
1 parent 6c8ae5b commit 5703e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 99 deletions.
96 changes: 0 additions & 96 deletions proto/shared/permissions.proto

This file was deleted.

6 changes: 3 additions & 3 deletions proto/token.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ option java_package = "momento.token";
package token;

service Token {
rpc GenerateAuthAcorn (_GenerateAuthAcornRequest) returns (_GenerateAuthAcornResponse) {}
rpc GenerateAuthAcorn (_GenerateDisposableTokenRequest) returns (_GenerateDisposableTokenResponse) {}
}

message _GenerateAuthAcornRequest {
message _GenerateDisposableTokenRequest {
// generate a token that has an expiry
message Expires {
// how many seconds do you want the api token to be valid for?
Expand All @@ -26,7 +26,7 @@ message _GenerateAuthAcornRequest {
permission_messages.Permissions permissions = 3;
}

message _GenerateAuthAcornResponse {
message _GenerateDisposableTokenResponse {
// the new api key used for authentication against Momento backend
string api_key = 1;
// the Momento endpoint that this token is allowed to make requests against
Expand Down

0 comments on commit 5703e4d

Please sign in to comment.