mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-05 10:51:41 +00:00
feature/1110 abstract connected wallet operations (#1166)
- **refactor: refactor DID module types and move to controller package** - **refactor: move controller creation and resolution logic to keeper** - **refactor: update imports to reflect controller package move** - **refactor: update protobuf definitions for DID module** - **docs: update proto README to reflect changes** - **refactor: move hway to gateway, update node modules, and refactor pkl generation** - **build: update pkl-gen task to use new pkl file paths** - **refactor: refactor DWN WASM build and deployment process** - **refactor: refactor DID controller implementation to use account-based storage** - **refactor: move DID controller interface to base file and update implementation** - **chore: migrate to google protobuf** - **feat: Add v0.52.0 Interfaces for Acc Abstraction** - **refactor: replace public_key with public_key_hex in Assertion message** - **refactor: remove unused PubKey, JSONWebKey, and RawKey message types and related code**
This commit is contained in:
Vendored
+40
@@ -0,0 +1,40 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package hway.v1;
|
||||
|
||||
option go_package = "github.com/onsonr/sonr/pkg/hway/types";
|
||||
|
||||
service Highway {
|
||||
rpc GetJWKS(GetJWKSRequest) returns (GetJWKSResponse);
|
||||
rpc GetToken(GetTokenRequest) returns (GetTokenResponse);
|
||||
rpc GrantAuthorization(GrantAuthorizationRequest) returns (GrantAuthorizationResponse);
|
||||
}
|
||||
|
||||
message GetJWKSRequest {}
|
||||
|
||||
message GetJWKSResponse {
|
||||
string jwks = 1;
|
||||
}
|
||||
|
||||
message GetTokenRequest {
|
||||
string subject = 1;
|
||||
string origin = 2;
|
||||
string key = 3;
|
||||
string asset = 4;
|
||||
}
|
||||
|
||||
message GetTokenResponse {
|
||||
string token = 1;
|
||||
}
|
||||
|
||||
message GrantAuthorizationRequest {
|
||||
string subject = 1;
|
||||
string origin = 2;
|
||||
string key = 3;
|
||||
string asset = 4;
|
||||
string assertion = 5;
|
||||
}
|
||||
|
||||
message GrantAuthorizationResponse {
|
||||
string token = 1;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package hway.v1;
|
||||
|
||||
option go_package = "github.com/onsonr/sonr/pkg/hway/types";
|
||||
Reference in New Issue
Block a user