Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Fix rename apikey to usertoken in ReadMe #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=SignhostAPIClient&metric=alert_status)](https://sonarcloud.io/dashboard?id=SignhostAPIClient)

This is a client library in c# to demonstrate the usage of the [signhost api](https://api.signhost.com/) using .net.
You will need a valid APPKey and APIKey.
You will need a valid APPKey and UserToken.
You can request a APPKey for signhost at [ondertekenen.nl](https://portal.signhost.com/signup/api-aanvraag).
The Usertoken can be generated via Settings > Usertokens at the [SignHost Portal](https://portal.signhost.com/).

### Install
Get it on NuGet:
Expand All @@ -16,7 +17,7 @@ Get it on NuGet:
### Example code
The following code is an example of how to create and start a sign transaction with two documents.
```c#
var client = new SignHostApiClient(new SignHostApiClientSettings("AppName appkey", "apikey or usertoken"));
var client = new SignHostApiClient(new SignHostApiClientSettings("AppName appkey", "usertoken"));
Comment on lines -19 to +20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't do this as some existing customers only know the term apikey


var transaction = await client.CreateTransactionAsync(new Transaction
{
Expand Down