org.apache.oltu.oauth2.jwt
Class ClaimsSet

java.lang.Object
  extended by org.apache.oltu.commons.json.CustomizableEntity
      extended by org.apache.oltu.oauth2.jwt.ClaimsSet

public final class ClaimsSet
extends org.apache.oltu.commons.json.CustomizableEntity

Represents the Claims Set as defined in the 6.1 section of the JWT specification.

See Also:
http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06#section-6.1

Method Summary
 String getAudience()
          Returns the aud JWT Claims Set parameter.
 long getExpirationTime()
          Returns the exp JWT Claims Set parameter.
 long getIssuedAt()
          Returns the iat JWT Claims Set parameter.
 String getIssuer()
          Returns the iss JWT Claims Set parameter.
 String getJwdId()
          Returns the jti JWT Claims Set parameter.
 String getNotBefore()
          Returns the nbf JWT Claims Set parameter.
 String getSubject()
          Returns the sub JWT Claims Set parameter.
 String getType()
          Returns the typ JWT Claims Set parameter.
 String toString()
           
 
Methods inherited from class org.apache.oltu.commons.json.CustomizableEntity
getCustomField, getCustomFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getIssuer

public String getIssuer()
Returns the iss JWT Claims Set parameter.

Returns:
the iss JWT Claims Set parameter.

getSubject

public String getSubject()
Returns the sub JWT Claims Set parameter.

Returns:
the sub JWT Claims Set parameter.

getAudience

public String getAudience()
Returns the aud JWT Claims Set parameter.

Returns:
the aud JWT Claims Set parameter.

getExpirationTime

public long getExpirationTime()
Returns the exp JWT Claims Set parameter.

Returns:
the exp JWT Claims Set parameter.

getNotBefore

public String getNotBefore()
Returns the nbf JWT Claims Set parameter.

Returns:
the nbf JWT Claims Set parameter.

getIssuedAt

public long getIssuedAt()
Returns the iat JWT Claims Set parameter.

Returns:
the iat JWT Claims Set parameter.

getJwdId

public String getJwdId()
Returns the jti JWT Claims Set parameter.

Returns:
the jti JWT Claims Set parameter.

getType

public String getType()
Returns the typ JWT Claims Set parameter.

Returns:
the typ JWT Claims Set parameter.

toString

public String toString()
Overrides:
toString in class org.apache.oltu.commons.json.CustomizableEntity


Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.