@Dependent public class JWTAuthContextInfoProvider extends Object
| Constructor and Description |
|---|
JWTAuthContextInfoProvider() |
| Modifier and Type | Method and Description |
|---|---|
static JWTAuthContextInfoProvider |
createWithCertificate(String keyLocation,
String issuer)
Create JWTAuthContextInfoProvider with the verification public key location and issuer.
|
static JWTAuthContextInfoProvider |
createWithKey(String publicKey,
String issuer)
Create JWTAuthContextInfoProvider with the public key and issuer
|
static JWTAuthContextInfoProvider |
createWithKeyLocation(String keyLocation,
String issuer)
Create JWTAuthContextInfoProvider with the verification public key location and issuer
|
static JWTAuthContextInfoProvider |
createWithSecretKeyLocation(String keyLocation,
String issuer)
Create JWTAuthContextInfoProvider with the verification secret key location and issuer
|
JWTAuthContextInfo |
getContextInfo() |
public static JWTAuthContextInfoProvider createWithKey(String publicKey, String issuer)
publicKey - the public key valueissuer - the issuerpublic static JWTAuthContextInfoProvider createWithKeyLocation(String keyLocation, String issuer)
keyLocation - the verification public key locationissuer - the issuerpublic static JWTAuthContextInfoProvider createWithCertificate(String keyLocation, String issuer)
keyLocation - certificate location which points to a PEM certificate or JWK containing the certificate chainissuer - the issuerpublic static JWTAuthContextInfoProvider createWithSecretKeyLocation(String keyLocation, String issuer)
keyLocation - the verification secret key locationissuer - the issuer@Produces @ApplicationScoped public JWTAuthContextInfo getContextInfo()
Copyright © 2018–2021. All rights reserved.