org.apache.oltu.oauth2.jwt
Class JWT

java.lang.Object
  extended by org.apache.oltu.oauth2.jwt.JWT

public class JWT
extends Object

This class contains constants used in the JWT implementation.


Nested Class Summary
static class JWT.Builder
          A simple JWT builder.
 
Method Summary
 ClaimsSet getClaimsSet()
          Get the JWT Claims Set as defined in the 6.1 section of the JWT specification.
 Header getHeader()
          Get the JWT Header as defined in the 6.1 section of the JWT specification.
 String getRawString()
          Get the JWT raw string.
 String getSignature()
          Get the JWT Signature.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getHeader

public Header getHeader()
Get the JWT Header as defined in the 6.1 section of the JWT specification.

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

getClaimsSet

public ClaimsSet getClaimsSet()
Get the JWT Claims Set as defined in the 6.1 section of the JWT specification.

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

getSignature

public String getSignature()
Get the JWT Signature.

Returns:
the JWT Signature.

getRawString

public String getRawString()
Get the JWT raw string.

Returns:
the JWT raw string

toString

public String toString()
Overrides:
toString in class Object


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