Package org.gluu.oxauth.model.token
Class JwtSigner
java.lang.Object
org.gluu.oxauth.model.token.JwtSigner
- Version:
- February 12, 2019
- Author:
- Yuriy Zabrovarnyy, Javier Rojas Blum
-
Constructor Summary
ConstructorsConstructorDescriptionJwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, SignatureAlgorithm signatureAlgorithm, String audience) JwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret) JwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret, AbstractCryptoProvider cryptoProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetJwt()newJwt()static JwtSignernewJwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, Client client) voidsetCryptoProvider(AbstractCryptoProvider cryptoProvider) voidsign()
-
Constructor Details
-
JwtSigner
public JwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, SignatureAlgorithm signatureAlgorithm, String audience) -
JwtSigner
public JwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret) -
JwtSigner
public JwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret, AbstractCryptoProvider cryptoProvider)
-
-
Method Details
-
newJwtSigner
public static JwtSigner newJwtSigner(AppConfiguration appConfiguration, JSONWebKeySet webKeys, Client client) throws Exception - Throws:
Exception
-
newJwt
- Throws:
Exception
-
sign
- Throws:
Exception
-
getJwt
-
setJwt
-
getSignatureAlgorithm
-
setCryptoProvider
-