protobuf-web-token 0.6.1

Create, verify and decode protobuf web tokens
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
syntax = "proto3";

package pwt;

import "google/protobuf/timestamp.proto";

message Token {
  google.protobuf.Timestamp valid_until = 1;
  bytes claims = 2;
}

message SignedToken {
  bytes data = 1;
  bytes signature = 2;
}