Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cburnette authored Sep 2, 2016
1 parent 3f76407 commit a2e7cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ If you haven't already created an app in Box go to https://developer.box.com/ an

### Authentication

#### Using a Developer Token
#### Using a Developer Token (generate one in your app admin console; they last for 60 minutes)
```c#
var config = new BoxConfig(<Client_Id>, <Client_Secret>, new Uri("http://localhost"));
var session = new OAuthSession(DEVELOPER_TOKEN, "NOT_NEEDED", 3600, "bearer");
var session = new OAuthSession(<Developer_Token>, "NOT_NEEDED", 3600, "bearer");
client = new BoxClient(config, session);
```

Expand Down

0 comments on commit a2e7cde

Please sign in to comment.