{
// true if running with docker-compose
asLocalhost?: boolean;
// ca administrator id
caAdmin: string;
// ca administrator password
caAdminPW: string;
channelName: string;
// path to connection profile yaml
connectionProfile: string;
// enrollment secret for organization admin
enrollmentSecret?: string;
// allow graphql introspection
introspection?: boolean;
// the same as mspId
orgName: string;
// uri for Apollo Federated Gateway
orgUrl: string;
// allow graphql playground
playground?: booleanredisOptions: RedisOptions
// path to file system walletwalletPath: string
}
{
// true if running with docker-compose
asLocalhost?: boolean;
// ca administrator id
caAdmin: string;
// ca administrator password
caAdminPW: string;
channelName: string;
// path to connection profile yaml
connectionProfile: string;
// enrollment secret for organization admin
enrollmentSecret?: string;
// allow graphql introspection
introspection?: boolean;
// the same as mspId
orgName: string;
// uri for Apollo Federated Gateway
orgUrl: string;
// allow graphql playground
playground?: booleanredisOptions: RedisOptions
// path to file system walletwalletPath: string
}
create resolvers using Auth0
Notice that, in legacy auth-server, wallet is created for each user
In this auth0 implementation, only organization administrator requires wallet entry.
All user's command is invoked via orgadmin (i.e. enrollmentId) / wallet.
{
// run as local host, when using docker-composeasLocalhost: boolean;
enrollmentId: string// microservice nameserviceName: string;
// is a private data repository
isPrivate: boolean;
channelName: string;
// path to connectionProfile
connectionProfile: string;
// Fabric file wallet
wallet: Wallet;
// redis option
redisOptions: RedisOptions;
}
gateway-lib
Installation