We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bb465d commit 832b3e0Copy full SHA for 832b3e0
1 file changed
README.md
@@ -22,7 +22,7 @@ We provide our Plugin SDK via Maven Central Repository (https://repo1.maven.org/
22
23
```
24
dependencies {
25
- compile 'com.staffbase:plugins-sdk-java:1.2.9'
+ implementation 'com.staffbase:plugins-sdk-java:1.2.9'
26
}
27
28
@@ -44,7 +44,10 @@ You can try to create a token from the received jwt.
44
RSAPublicKey rsaPublicKey = ...
45
46
try {
47
+ // Create the SSO handler with your RSA public key
48
final SSOFacade ssoFac = SSOFacade.create(rsaPublicKey);
49
+
50
+ // Verify and decode the JWT token
51
final SSOData ssoData = ssoFac.verify(jwToken);
52
53
// If the plugin instance was deleted in Staffbase
0 commit comments