Open
Conversation
…bution-flow feat: issuer token distribution flow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
このPRは、
monas-sdkとmonas-gatewayを追加し、gateway -> sdk -> state-nodeの経路でコンテンツ操作を行うための土台を実装する。合わせて
monas-account/monas-contentのアプリケーション層を整理し、署名・認証・委譲トークン発行・ローカル検証導線を一貫させる。主な変更点:
monas-sdk/monas-gatewayを追加Cargo.tomlの workspace members を更新monas-sdkを新規実装ApiResponse,ApiError) を整備MonasController配下にcontent/share/state/keypairコントローラを実装content,share,state,state_node) を追加content/share/state) を追加monas-gatewayを新規実装axumベースの HTTP API を追加MonasControllerを呼び出すハンドラ群を実装X-Request-*を含む state-node 認証コンテキストの組み立てを実装monas-accountのアプリケーション層を再編application_serviceをcommand/error/port/serviceに分割issue_delegated_token) を実装/issuer/delegateと sign レスポンス拡張を追加monas-content側の command/service/presentation を調整Makefile,scripts/state-node-run.sh,scripts/gateway-run.shを追加README.mdにローカル起動手順を追記今回の検証で追加したID契約対応:
remote_content_idを追加local_content_id+remote_content_idの2ID構成に変更local_content_idに注入し、remote は body で受ける形に変更Notes & open questions