@restorecommerce/protos 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.6.9](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.8...@restorecommerce/protos@0.6.9) (2022-05-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** add get token grpc endpoint to oauth ([965701b](https://github.com/restorecommerce/libs/commit/965701b5192c73060bf0377bc2f81d33a2ea4bd8))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.6.8](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.7...@restorecommerce/protos@0.6.8) (2022-04-25)
7
18
 
8
19
 
@@ -4,12 +4,14 @@ package io.restorecommerce.oauth;
4
4
 
5
5
  import "io/restorecommerce/auth.proto";
6
6
  import "io/restorecommerce/user.proto";
7
+ import "io/restorecommerce/status.proto";
7
8
  import "google/protobuf/empty.proto";
8
9
 
9
10
  service Service {
10
11
  rpc AvailableServices(google.protobuf.Empty) returns (ServicesResponse);
11
12
  rpc GenerateLinks(google.protobuf.Empty) returns (GenerateLinksResponse);
12
13
  rpc ExchangeCode(ExchangeCodeRequest) returns (ExchangeCodeResponse);
14
+ rpc GetToken(GetTokenRequest) returns (GetTokenResponse);
13
15
  }
14
16
 
15
17
  message ServicesResponse {
@@ -31,3 +33,13 @@ message ExchangeCodeResponse {
31
33
  string email = 2;
32
34
  io.restorecommerce.auth.Tokens token = 3;
33
35
  }
36
+
37
+ message GetTokenRequest {
38
+ io.restorecommerce.auth.Subject subject = 1;
39
+ string service = 2;
40
+ }
41
+
42
+ message GetTokenResponse {
43
+ io.restorecommerce.status.Status status = 1;
44
+ optional string token = 2;
45
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "0.6.8",
3
+ "version": "0.6.9",
4
4
  "description": "Protobuf descriptors for Restorecommerce services",
5
5
  "author": "n-fuse GmbH",
6
6
  "repository": {
@@ -15,5 +15,5 @@
15
15
  "protobufs"
16
16
  ],
17
17
  "scripts": {},
18
- "gitHead": "600de085c57a766fb29a20b4b10c83e9235034ab"
18
+ "gitHead": "23f3b0cf04a484cf83b5f4c816d0f98cc18488b9"
19
19
  }