Skip to content

Commit b28705f

Browse files
committed
Fix README.md
1 parent dc955d7 commit b28705f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Obtaining access token from token endpoint is as simple as this:
2929
###### private_key_jwt ######
3030

3131
```java
32-
TokenClient tokenClient = new ClientCredentialsGrantTokenClient(
32+
ClientCredentialsGrantTokenClient tokenClient = new ClientCredentialsGrantTokenClient(
3333
tokenEndpointUri,
3434
new JwtBearerClientAssertionCredentials(
3535
tokenEndpointUri,
@@ -40,12 +40,12 @@ TokenClient tokenClient = new ClientCredentialsGrantTokenClient(
4040
String accessToken = tokenClient.getToken("scope1", "scope2");
4141
```
4242

43-
_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._
43+
_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._
4444

4545
###### client_secret ######
4646

4747
```java
48-
TokenClient tokenClient = new ClientCredentialsGrantTokenClient(
48+
ClientCredentialsGrantTokenClient tokenClient = new ClientCredentialsGrantTokenClient(
4949
tokenEndpointUri,
5050
new ClientSecretCredentials(clientId, clientSecret)
5151
);

0 commit comments

Comments
 (0)