public void AccessToken() { var token = new PandaDocBearerToken { AccessToken = "test" }; Assert.AreEqual("test", token.AccessToken); }
public void RefreshToken() { var token = new PandaDocBearerToken { RefreshToken = "test" }; Assert.AreEqual("test", token.RefreshToken); }
protected PandaDocHttpClient SetApiKey() { var client = new PandaDocHttpClient(); var bearerToken = new PandaDocBearerToken { ApiKey = ESignConfig.PandaDocApiKey }; client.SetBearerToken(bearerToken); return(client); }
protected PandaDocHttpClient SetApiKey() { var settings = new PandaDocHttpClientSettings(); var client = new PandaDocHttpClient(settings); var bearerToken = new PandaDocBearerToken { ApiKey = "c6caae24740bb7bfffc0895f27bbf1ca7fe6bbe9" }; client.SetBearerToken(bearerToken); return(client); }
public void SetBearerToken(PandaDocBearerToken value) { BearerToken = value; }