GithubHelp home page GithubHelp logo

consensys / quorum-plugin-qlight-token-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 3.0 31 KB

Quorum Plugin: QLight Token Manager

License: Apache License 2.0

Makefile 20.49% Go 79.51%
protocols-team-goquorum

quorum-plugin-qlight-token-manager's Introduction

Prerequisites

  • Go 1.16.x
  • Make

How-to

  • Run make to create plugin distribution zip files for different OSes.
  • Copy the zip file in the desired OS folder to Quorum plugin folder.
  • Define qlight-token-manager block in the providers section of plugin settings JSON
    "qlight-token-manager": {
       "name":"quorum-plugin-qlight-token-manager",
       "version":"1.0.0",
       "config": "file://<path-to>/qlight-token-manager-plugin-config.json"
    }
    

qlight-token-manager-plugin-config.json

Definition

type config struct {
	URL, Method                      string
	TLSSkipVerify                    bool
	RefreshAnticipationInMillisecond int32
	Parameters                       map[string]string
}

Example

{
   "URL": "https://multi-tenancy-oauth2-server:4444/oauth2/token",
   "Method": "POST",
   "TLSSkipVerify": true,
   "RefreshAnticipationInMillisecond": 1000,
   "Parameters": {
      "grant_type":"client_credentials",
      "client_id":"${PSI}",
      "client_secret":"foofoo",
      "scope":"rpc://eth_* p2p://qlight rpc://admin_* rpc://personal_* rpc://quorumExtension_* rpc://rpc_modules psi://${PSI}?self.eoa=0x0&node.eoa=0x0",
      "audience":"Node1"
   }
}

quorum-plugin-qlight-token-manager's People

Contributors

baptiste-b-pegasys avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.