GetApiKeyWithPrefix() public method

Get the API key with prefix.
public GetApiKeyWithPrefix ( string apiKeyIdentifier ) : string
apiKeyIdentifier string API key identifier (authentication scheme).
return string
        public void TestAuthentication()
        {
            Configuration c = new Configuration ();
            c.Username = "******";
            c.Password = "******";

            c.ApiKey ["api_key_identifier"] = "1233456778889900";
            c.ApiKeyPrefix ["api_key_identifier"] = "PREFIX";
            Assert.AreEqual (c.GetApiKeyWithPrefix("api_key_identifier"), "PREFIX 1233456778889900");
        }