Skip to content

Commit

Permalink
Fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
uncleyo committed May 10, 2016
1 parent dc955d7 commit b28705f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Obtaining access token from token endpoint is as simple as this:
###### private_key_jwt ######

```java
TokenClient tokenClient = new ClientCredentialsGrantTokenClient(
ClientCredentialsGrantTokenClient tokenClient = new ClientCredentialsGrantTokenClient(
tokenEndpointUri,
new JwtBearerClientAssertionCredentials(
tokenEndpointUri,
Expand All @@ -40,12 +40,12 @@ TokenClient tokenClient = new ClientCredentialsGrantTokenClient(
String accessToken = tokenClient.getToken("scope1", "scope2");
```

_Check [here](src/test/java/com/scalepoint/jwt_assertion_client/TestCertificateHelper.java) for how you can load "keyPair" from .jks or .pfx file containing only one certificate and key for test purposes._
_Check [here](src/test/java/com/scalepoint/oauth_token_client/TestCertificateHelper.java) for how you can load "keyPair" from .jks or .pfx file containing only one certificate and key for test purposes._

###### client_secret ######

```java
TokenClient tokenClient = new ClientCredentialsGrantTokenClient(
ClientCredentialsGrantTokenClient tokenClient = new ClientCredentialsGrantTokenClient(
tokenEndpointUri,
new ClientSecretCredentials(clientId, clientSecret)
);
Expand Down

0 comments on commit b28705f

Please sign in to comment.