msppvdr

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MSPProvider

type MSPProvider struct {
	// contains filtered or unexported fields
}

MSPProvider provides the default implementation of MSP

func New

func New(endpointConfig fab.EndpointConfig, cryptoSuite core.CryptoSuite, userStore msp.UserStore) (*MSPProvider, error)

New creates a MSP context provider

func (*MSPProvider) IdentityManager

func (p *MSPProvider) IdentityManager(orgName string) (msp.IdentityManager, bool)

IdentityManager returns the organization's identity manager

func (*MSPProvider) Initialize

func (p *MSPProvider) Initialize(providers core.Providers) error

Initialize sets the provider context

func (*MSPProvider) UserStore

func (p *MSPProvider) UserStore() msp.UserStore

UserStore returns the user store used by the MSP provider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL