Interface TokenForge
-
- All Known Implementing Classes:
OA2TokenForge
public interface TokenForge
Interface for creating tokens. Issuers invoke this either either a map that includes the values (as key and value paires), from the servlet request or with a set of strings from which to make the tokens. No arguments in the latter case means a completely new, unused token is created.Created by Jeff Gaynor
on 4/10/12 at 11:10 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessToken
getAccessToken(String... tokens)
AccessToken
getAccessToken(Map<String,String> parameters)
AccessToken
getAccessToken(javax.servlet.http.HttpServletRequest request)
AuthorizationGrant
getAuthorizationGrant(String... tokens)
AuthorizationGrant
getAuthorizationGrant(Map<String,String> parameters)
AuthorizationGrant
getAuthorizationGrant(javax.servlet.http.HttpServletRequest request)
Verifier
getVerifier(String... tokens)
Verifier
getVerifier(Map<String,String> parameters)
Verifier
getVerifier(javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
getAuthorizationGrant
AuthorizationGrant getAuthorizationGrant(Map<String,String> parameters)
-
getAuthorizationGrant
AuthorizationGrant getAuthorizationGrant(javax.servlet.http.HttpServletRequest request)
-
getAuthorizationGrant
AuthorizationGrant getAuthorizationGrant(String... tokens)
-
getAccessToken
AccessToken getAccessToken(Map<String,String> parameters)
-
getAccessToken
AccessToken getAccessToken(javax.servlet.http.HttpServletRequest request)
-
getAccessToken
AccessToken getAccessToken(String... tokens)
-
getVerifier
Verifier getVerifier(javax.servlet.http.HttpServletRequest request)
-
-