org.jboss.seam.social.core
Annotation Type ConfigureOAuth
@Target(value={TYPE,METHOD,PARAMETER,FIELD})
@Retention(value=RUNTIME)
@Documented
public @interface ConfigureOAuth
An annotation to set OAuthService directly in the code It can be used like this :
@Inject
@ConfigureOAuth(apiKey = "a consumer key", apiSecret = "a consumer secret", callback = "a call back URL")
Twitter service;
It's one of the alternates solution initialize an OAuth service configuration
- Author:
- Antoine Sabot-Durand
apiKey
public abstract String apiKey
- Default:
- ""
apiSecret
public abstract String apiSecret
- Default:
- ""
callback
public abstract String callback
- Default:
- "oob"
scope
public abstract String scope
- Default:
- ""
Copyright © 2011 Seam Framework. All Rights Reserved.