public class MGWJWTGeneratorImpl extends AbstractMGWJWTGenerator
| Constructor and Description |
|---|
MGWJWTGeneratorImpl(String dialectURI,
String signatureAlgorithm,
String trustStorePath,
String trustStorePassword,
String certificateAlias,
String privateKeyAlias,
int jwtExpiryTime,
String[] restrictedClaims,
boolean jwtCacheEnabled,
int jwtCacheExpiry,
String tokenIssuer,
String[] tokenAudience) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
populateCustomClaims(Map<String,Object> jwtInfo,
ArrayList<String> restrictedClaims) |
Map<String,Object> |
populateStandardClaims(Map<String,Object> jwtInfo) |
addCertToHeader, arrayToJSONArray, buildBody, buildHeader, encode, generateToken, getApiDetails, getCacheExpiry, getCertificateAlias, getDefaultRestrictedClaims, getDialectURI, getJwtExpiryTime, getKeyStorePassword, getKeyStorePath, getPrivateKeyAlias, getRestrictedClaims, getSignatureAlgorithm, getTokenAudience, getTokenIssuer, getTTL, hexify, isCacheEnabled, setApiDetails, setCacheEnabled, setCacheExpiry, setCertificateAlias, setDefaultRestrictedClaims, setDialectURI, setJwtExpiryTime, setKeyStorePassword, setKeyStorePath, setPrivateKeyAlias, setRestrictedClaims, setSignatureAlgorithm, setTokenAudience, setTokenIssuer, signJWTpublic MGWJWTGeneratorImpl(String dialectURI, String signatureAlgorithm, String trustStorePath, String trustStorePassword, String certificateAlias, String privateKeyAlias, int jwtExpiryTime, String[] restrictedClaims, boolean jwtCacheEnabled, int jwtCacheExpiry, String tokenIssuer, String[] tokenAudience)
public Map<String,Object> populateStandardClaims(Map<String,Object> jwtInfo)
populateStandardClaims in class AbstractMGWJWTGeneratorpublic Map<String,Object> populateCustomClaims(Map<String,Object> jwtInfo, ArrayList<String> restrictedClaims)
populateCustomClaims in class AbstractMGWJWTGeneratorCopyright © 2020 WSO2. All rights reserved.