Files
sonr/third_party/proto/hway/v1/api.proto
T
Prad NukalaandGitHub bf94277b0f 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**
2024-11-18 19:04:10 -05:00

41 lines
766 B
Protocol Buffer

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;
}