org.jboss.seam.social.oauth
Annotation Type OAuthConfiguration


@Target(value={TYPE,METHOD,PARAMETER,FIELD})
@Retention(value=RUNTIME)
@Documented
public @interface OAuthConfiguration

An annotation to set OAuthService directly in the code It can be used like this :

 @Inject
 @OAuthConfiguration(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

Required Element Summary
 String apiKey
           
 String apiSecret
           
 
Optional Element Summary
 String callback
           
 String scope
           
 

Element Detail

apiKey

public abstract String apiKey

apiSecret

public abstract String apiSecret

callback

public abstract String callback
Default:
"oob"

scope

public abstract String scope
Default:
""


Copyright © 2011 Seam Framework. All Rights Reserved.