diff --git a/README.md b/README.md index ac1cfdd..076e635 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,18 @@ $ mvn install Creating the client ```Java -IrisClient client = new IrisClient(accountId, username, password); +// With Basic Auth +IrisClient client = new IrisClient("", "", ""); + +// With A Bearer Token +IrisClient client = new IrisClient("", "", "", "", ); + +// With OAuth using Client Credentials +IrisClient client = new IrisClient("", "", ""); +client.setClientId(""); +client.setClientSecret(""); + +// See IrisClient.java for all of the possible new OAuth constructors // You can then use the client to call a particular object's methods, e.g. Site s = new Site();