public class GadgetOAuth2TokenStore extends Object
GadgetSpecs, GadgetContext
s, etc. See OAuth2Store for a more detailed explanation of the OAuth
2.0 Data Store.| Constructor and Description |
|---|
GadgetOAuth2TokenStore(OAuth2Store store,
GadgetSpecFactory specFactory) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Accessor |
getOAuth2Accessor(SecurityToken securityToken,
OAuth2Arguments arguments,
Uri gadgetUri)
Retrieves and merges the data from the
OAuth2Store, the gadget spec
and the request itself to populate the OAuth2 data for this requets. |
OAuth2Store |
getOAuth2Store() |
@Inject public GadgetOAuth2TokenStore(OAuth2Store store, GadgetSpecFactory specFactory)
public OAuth2Accessor getOAuth2Accessor(SecurityToken securityToken, OAuth2Arguments arguments, Uri gadgetUri)
OAuth2Store, the gadget spec
and the request itself to populate the OAuth2 data for this requets.securityToken - SecurityToken from the requestarguments - OAuth2Arguments from the requestgadgetUri - gadget uri from the requestOAuth2Accessor for the requestOAuth2RequestExceptionpublic OAuth2Store getOAuth2Store()
OAuth2Store, never nullCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.