Skip to content

Commit bb478a0

Browse files
trshJanis Taranda
andauthored
fix: 418 optional expire date, token infinite by default (#183)
Co-authored-by: Janis Taranda <janis.taranda@n-fuse.co>
1 parent be1ca65 commit bb478a0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/protos/io/restorecommerce/user.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ message LoginRequest {
7575
message ImpersonateRequest {
7676
optional string identifier = 1; // Username to impersonate
7777
optional io.restorecommerce.auth.Subject subject = 2; // Impersonator's subject
78+
optional uint32 token_ttl = 3; // Token time to live in seconds
7879
}
7980

8081
message AccessTokenData {

0 commit comments

Comments
 (0)