Skip to content

Commit 832b3e0

Browse files
committed
docs: update & extend installation
1 parent 3bb465d commit 832b3e0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ We provide our Plugin SDK via Maven Central Repository (https://repo1.maven.org/
2222

2323
```
2424
dependencies {
25-
compile 'com.staffbase:plugins-sdk-java:1.2.9'
25+
implementation 'com.staffbase:plugins-sdk-java:1.2.9'
2626
}
2727
```
2828

@@ -44,7 +44,10 @@ You can try to create a token from the received jwt.
4444
RSAPublicKey rsaPublicKey = ...
4545

4646
try {
47+
// Create the SSO handler with your RSA public key
4748
final SSOFacade ssoFac = SSOFacade.create(rsaPublicKey);
49+
50+
// Verify and decode the JWT token
4851
final SSOData ssoData = ssoFac.verify(jwToken);
4952

5053
// If the plugin instance was deleted in Staffbase

0 commit comments

Comments
 (0)