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

Header

extends CustomizableEntity
java.lang.Object
   ↳ org.apache.oltu.commons.json.CustomizableEntity
     ↳ org.apache.oltu.oauth2.jwt.Header

Class Overview

Represents the Header 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

Summary

Public Methods
String getAlgorithm()
Returns the alg JWT Header parameter.
String getContentType()
Returns the cty JWT Header parameter.
String getType()
Returns the typ JWT Header parameter.
String toString()
[Expand]
Inherited Methods
From class org.apache.oltu.commons.json.CustomizableEntity
From class java.lang.Object

Public Methods

public String getAlgorithm ()

Returns the alg JWT Header parameter.

Returns
  • the alg JWT Header parameter.

public String getContentType ()

Returns the cty JWT Header parameter.

Returns
  • the cty JWT Header parameter.

public String getType ()

Returns the typ JWT Header parameter.

Returns
  • the typ JWT Header parameter.

public String toString ()