Skip to content

Config Options around Ordercloud Environments.  #58

@oliverheywood451

Description

@oliverheywood451

It would be nice to have config options around the three different environments. So that a new instance of OrdercloudClient could be created something like this

new OrderCloudClient(new OrderCloudClientConfig()
			{
				GrantType = GrantType.ClientCredentials,
                                Enviornment = OrderCloudEnvironment.Staging,
				ClientId = clientID,
				Roles =  new ApiRole[] { }
			}); 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions