Package io.jans.as.model.token
Class JsonWebResponse
- java.lang.Object
-
- io.jans.as.model.token.JsonWebResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class JsonWebResponse extends java.lang.Object implements java.io.Serializable
JSON Web Token is a compact token format intended for space constrained environments such as HTTP Authorization headers and URI query parameters.- Author:
- Yuriy Movchan Date: 06/30/2015
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonWebResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
asString()
JwtClaims
getClaims()
JwtHeader
getHeader()
void
setClaim(java.lang.String key, java.lang.String value)
void
setClaims(JwtClaims claims)
void
setHeader(JwtHeader header)
java.lang.String
toString()
-
-
-
Method Detail
-
getHeader
public JwtHeader getHeader()
-
setHeader
public void setHeader(JwtHeader header)
-
getClaims
public JwtClaims getClaims()
-
setClaim
public void setClaim(java.lang.String key, java.lang.String value)
-
setClaims
public void setClaims(JwtClaims claims)
-
asString
public java.lang.String asString()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-