Package step.core.access.authentication
Class JWTSettingsBuilder
- java.lang.Object
-
- step.core.access.authentication.JWTSettingsBuilder
-
public class JWTSettingsBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description JWTSettingsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JWTSettings
build()
JWTSettingsBuilder
setAlgo(String algo)
JWTSettingsBuilder
setAudience(String audience)
JWTSettingsBuilder
setCheckAudience(boolean checkAudience)
JWTSettingsBuilder
setCheckIssuer(boolean checkIssuer)
JWTSettingsBuilder
setClockSkew(Long clockSkew)
JWTSettingsBuilder
setIssuer(String issuer)
JWTSettingsBuilder
setRefreshCountClaimName(String refreshCountClaimName)
JWTSettingsBuilder
setRefreshLimitClaimName(String refreshLimitClaimName)
JWTSettingsBuilder
setRoleClaimJsonPathMap(Map<String,com.jayway.jsonpath.JsonPath> roleClaimJsonPathMap)
JWTSettingsBuilder
setSigningKeyResolver(io.jsonwebtoken.SigningKeyResolver signingKeyResolver)
JWTSettingsBuilder
setSigningSecret(String signingSecret)
JWTSettingsBuilder
setUserClaimJsonPath(String userClaimJsonPath)
-
-
-
Method Detail
-
setAlgo
public JWTSettingsBuilder setAlgo(String algo)
-
setSigningSecret
public JWTSettingsBuilder setSigningSecret(String signingSecret)
-
setSigningKeyResolver
public JWTSettingsBuilder setSigningKeyResolver(io.jsonwebtoken.SigningKeyResolver signingKeyResolver)
-
setClockSkew
public JWTSettingsBuilder setClockSkew(Long clockSkew)
-
setAudience
public JWTSettingsBuilder setAudience(String audience)
-
setIssuer
public JWTSettingsBuilder setIssuer(String issuer)
-
setRoleClaimJsonPathMap
public JWTSettingsBuilder setRoleClaimJsonPathMap(Map<String,com.jayway.jsonpath.JsonPath> roleClaimJsonPathMap)
-
setRefreshCountClaimName
public JWTSettingsBuilder setRefreshCountClaimName(String refreshCountClaimName)
-
setRefreshLimitClaimName
public JWTSettingsBuilder setRefreshLimitClaimName(String refreshLimitClaimName)
-
setCheckIssuer
public JWTSettingsBuilder setCheckIssuer(boolean checkIssuer)
-
setCheckAudience
public JWTSettingsBuilder setCheckAudience(boolean checkAudience)
-
setUserClaimJsonPath
public JWTSettingsBuilder setUserClaimJsonPath(String userClaimJsonPath)
-
build
public JWTSettings build()
-
-