public class SSOFacade extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EXPECTED_CLAIM_INSTANCE_ID
The name of the claim which holds the mandatory instance id for the
single-sign-on attempt.
|
| Modifier and Type | Method and Description |
|---|---|
static SSOFacade |
create(RSAPublicKey rsaPublicKey)
Initialize the facade using the given RSA public key
|
SSOData |
verify(String raw)
Verify and parse a single-sign-on attempt coming from the staffbase app.
|
public static final String EXPECTED_CLAIM_INSTANCE_ID
public static SSOFacade create(RSAPublicKey rsaPublicKey)
rsaPublicKey - the RSA public key to be used for verification.public SSOData verify(String raw) throws SSOException
raw - the raw JWT stringSSOException - if the verification of the sign-on attempt failsCopyright © 2023 Staffbase. All rights reserved.