@Service public class JwtTokenServiceImpl extends Object implements JwtTokenService
| Modifier and Type | Field and Description |
|---|---|
String |
secret |
Boolean |
secretBase64Encoded |
| Constructor and Description |
|---|
JwtTokenServiceImpl() |
@Value(value="${signer.secret:secretkey}")
public String secret
@Value(value="${signer.secret.base64.encoded:false}")
public Boolean secretBase64Encoded
@PostConstruct public void initIt() throws Exception
Exceptionpublic String sign(me.parakh.core.security.jwt.JwtClaim claims)
sign in interface JwtTokenServicepublic me.parakh.core.security.jwt.JwtClaimEdge verify(String token)
verify in interface JwtTokenServiceCopyright © 2016. All rights reserved.