java.lang.Object
swim.security.JsonWebToken
- All Implemented Interfaces:
swim.codec.Debug
- Direct Known Subclasses:
OpenIdToken
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudience()swim.collections.FingerTrieSeq<String>protected booleanprotected JsonWebTokencopy(swim.structure.Value value) <T> swim.codec.Output<T>debug(swim.codec.Output<T> output) booleanlongexpiration(long expiration) static JsonWebTokenfrom(swim.structure.Value value) swim.structure.ValueinthashCode()longissuedAt()issuedAt(long issuedAt) issuer()swim.structure.RecordjwtId()longnotBefore(long notBefore) static JsonWebTokensign(PrivateKey privateKey) subject()toString()final swim.structure.ValuetoValue()
-
Field Details
-
value
protected final swim.structure.Value value
-
-
Constructor Details
-
JsonWebToken
public JsonWebToken(swim.structure.Value value) -
JsonWebToken
public JsonWebToken()
-
-
Method Details
-
get
-
issuer
-
issuer
-
subject
-
subject
-
audience
-
audience
-
audiences
-
audiences
-
expiration
public long expiration() -
expiration
-
notBefore
public long notBefore() -
notBefore
-
issuedAt
public long issuedAt() -
issuedAt
-
jwtId
-
jwtId
-
joseHeader
public swim.structure.Record joseHeader() -
mac
-
sign
-
toValue
public final swim.structure.Value toValue() -
copy
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output) - Specified by:
debugin interfaceswim.codec.Debug
-
toString
-
from
-
parse
-