org.jclouds.oauth.v2.domain
Interface TokenRequestFormat

All Known Implementing Classes:
JWTTokenRequestFormat

public interface TokenRequestFormat

Transforms a TokenRequest into a specific format (e.g. JWT token)


Method Summary
<R extends org.jclouds.http.HttpRequest>
R
formatRequest(R httpRequest, TokenRequest tokenRequest)
          Transforms the provided HttpRequest into a particular token request with a specific format.
 String getTypeName()
          The name of the type of the token request, e.g., "JWT"
 Set<String> requiredClaims()
          The claims that must be present in the token request for it to be valid.
 

Method Detail

formatRequest

<R extends org.jclouds.http.HttpRequest> R formatRequest(R httpRequest,
                                                         TokenRequest tokenRequest)
Transforms the provided HttpRequest into a particular token request with a specific format.


getTypeName

String getTypeName()
The name of the type of the token request, e.g., "JWT"


requiredClaims

Set<String> requiredClaims()
The claims that must be present in the token request for it to be valid.



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