org.jclouds.oauth.v2.domain
Class Header

java.lang.Object
  extended by org.jclouds.oauth.v2.domain.Header

public class Header
extends Object

The header for the OAuth token, contains the signer algorithm's name and the type of the token

See Also:
doc

Nested Class Summary
static class Header.Builder
           
 
Constructor Summary
protected Header(String signerAlgorithm, String type)
           
 
Method Summary
static Header.Builder builder()
           
 boolean equals(Object obj)
          
 String getSignerAlgorithm()
          The name of the algorithm used to compute the signature, e.g., "RS256"
 String getType()
          The type of the token, e.g., "JWT"
 int hashCode()
          
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Header.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Header

protected Header(String signerAlgorithm,
                 String type)
Method Detail

builder

public static Header.Builder builder()

toBuilder

public Header.Builder toBuilder()

getSignerAlgorithm

public String getSignerAlgorithm()
The name of the algorithm used to compute the signature, e.g., "RS256"


getType

public String getType()
The type of the token, e.g., "JWT"


equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.