com.google.api.client.auth.jsontoken
Class JsonWebToken.Header
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.client.auth.jsontoken.JsonWebToken.Header
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
- Direct Known Subclasses:
- JsonWebSignature.Header
- Enclosing class:
- JsonWebToken
public static class JsonWebToken.Header
- extends GenericJson
Header as specified in JWT Header.
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Method Summary |
String |
getType()
Returns the type header parameter used to declare structural information about the JWT or
null for none. |
JsonWebToken.Header |
setType(String type)
Sets the type header parameter used to declare structural information about the JWT or
null for none. |
JsonWebToken.Header
public JsonWebToken.Header()
getType
public final String getType()
- Returns the type header parameter used to declare structural information about the JWT or
null for none.
setType
public JsonWebToken.Header setType(String type)
- Sets the type header parameter used to declare structural information about the JWT or
null for none.
Copyright © 2011-2012 Google. All Rights Reserved.