This project has retired. For details please refer to its Attic page.
JWT | Apache Oltu - OAuth 2.0
public class

JWT

extends Object
java.lang.Object
   ↳ org.apache.oltu.oauth2.jwt.JWT

Class Overview

This class contains constants used in the JWT implementation.

Summary

Nested Classes
class JWT.Builder A simple JWT builder. 
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

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

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

public String getRawString ()

Get the JWT raw string.

Returns
  • the JWT raw string

public String getSignature ()

Get the JWT Signature.

Returns
  • the JWT Signature.

public String toString ()