public SdkConfigurationFactory(IApiConfiguration apiConfiguration, ISdkLibraryConfiguration sdkLibraryConfiguration, IOAuthTokenHandler tokenHandler) { _tokenHandler = tokenHandler; var defaultHeader = new Dictionary <string, string> { { "Content-Type", "application/json" } }; var sdkGenerationBasePath = sdkLibraryConfiguration.Path; var owinServerUrl = apiConfiguration.Url; object[] args = { defaultHeader, new Dictionary <string, string>(), new Dictionary <string, string>(), owinServerUrl }; _configType = GetTypeFromAssembly(sdkGenerationBasePath, EdFiConstants.SdkConfigurationNamespace); var configInstance = Activator.CreateInstance(_configType, args); SdkConfig = configInstance; }
public GetByExampleTest( Resource resource, Dictionary <string, JArray> resultsDictionary, IApiConfiguration configuration, IOAuthTokenHandler tokenHandler) : base(resource, resultsDictionary, configuration, tokenHandler) { }
protected GetBaseTest( Resource resource, Dictionary <string, JArray> resultsDictionary, IApiConfiguration configuration, IOAuthTokenHandler tokenHandler) { Resource = resource; ResultsDictionary = resultsDictionary; Configuration = configuration; TokenHandler = tokenHandler; }
public GetSessionTokenGenerator(IOAuthTokenHandler tokenHandler, IOAuthSessionToken sessionToken) { _tokenHandler = tokenHandler; _sessionToken = sessionToken; }