public class JWTOptions extends Object
Constructor and Description |
---|
JWTOptions() |
JWTOptions(JsonObject json) |
JWTOptions(JWTOptions other) |
public JWTOptions()
public JWTOptions(JWTOptions other)
public JWTOptions(JsonObject json)
public JsonObject toJson()
public int getLeeway()
public JWTOptions setLeeway(int leeway)
public boolean isIgnoreExpiration()
public JWTOptions setIgnoreExpiration(boolean ignoreExpiration)
public String getAlgorithm()
public JWTOptions setAlgorithm(String algorithm)
public JsonObject getHeader()
public JWTOptions setHeader(JsonObject header)
public boolean isNoTimestamp()
public JWTOptions setNoTimestamp(boolean noTimestamp)
public int getExpiresInSeconds()
public JWTOptions setExpiresInSeconds(int expiresInSeconds)
public JWTOptions setExpiresInMinutes(int expiresInMinutes)
public JWTOptions setAudience(List<String> audience)
public JWTOptions addAudience(String audience)
public String getIssuer()
public JWTOptions setIssuer(String issuer)
public String getSubject()
public JWTOptions setSubject(String subject)
public JWTOptions setPermissions(List<String> permissions)
permissions
- the permissions for this token that will be used for AuthZpublic JWTOptions addPermission(String permission)
permission
- permission for this token that will be used for AuthZ@Deprecated public JWTOptions setScopes(List<String> scopes)
AuthorizationProvider
@Deprecated public JWTOptions addScope(String scope)
AuthorizationProvider
@Deprecated public List<String> getScopes()
AuthorizationProvider
@Deprecated public String getScopeDelimiter()
AuthorizationProvider
@Deprecated public JWTOptions withScopeDelimiter(String scopeDelimiter)
AuthorizationProvider
@Deprecated public boolean hasScopeDelimiter()
AuthorizationProvider
public String getNonceAlgorithm()
public JWTOptions setNonceAlgorithm(String nonceAlgorithm)
Copyright © 2021 Eclipse. All rights reserved.