Skip to content

Commit 54a5c6c

Browse files
authored
Merge pull request #58 from GuiSim/master
Update README.md
2 parents 045b970 + 29f610a commit 54a5c6c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,12 @@ try {
278278

279279
```
280280

281+
## Custom request signing
282+
283+
You can provide your own signing mechanism by using the `public XeroClient(Config config, SignerFactory signerFactory)` constructor. Simply implement the `SignerFactory` interface with your implementation.
284+
285+
You can also provide a `RsaSignerFactory` using the `public RsaSignerFactory(InputStream privateKeyInputStream, String privateKeyPassword)` constructor to fetch keys from any InputStream.
286+
```
281287
282288
## Acknowledgement
283289

0 commit comments

Comments
 (0)