Package | Description |
---|---|
org.agorava.api.oauth.application |
This package contains all class related to OAuth application settings
|
Modifier and Type | Class and Description |
---|---|
class |
PropertyOAuthAppSettingsBuilder
This Builder creates a
OAuthAppSettings from a ResourceBundle
The bundle name is "agorava" ("agorava.properties" filename) by default but can be customized through (String)
keys in the file must be :
apiKey
apiSecret
callback
scope
You can configure a prefix for the key with PropertyOAuthAppSettingsBuilder.prefix(String) . |
class |
SimpleOAuthAppSettingsBuilder |
Modifier and Type | Method and Description |
---|---|
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.apiKey(String apiKey)
Set the Social Media application consumer key
|
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.apiSecret(String apiSecret)
Set the Social Media application secret key
|
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.callback(String callback)
Set the Callback for the application
|
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.name(String name)
Set the name of the Social Media for which the settings are intended
|
OAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.params(Param[] params) |
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.params(Param[] params)
Load builder params with an array of
Param . |
OAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.qualifier(Annotation qualifier) |
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.qualifier(Annotation qualifier)
Set the qualifier of the Social Media for which the settings are intended.
|
OAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.readFromSettings(OAuthAppSettings settings) |
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.readFromSettings(OAuthAppSettings settings)
Set builder params from an existing
OAuthAppSettings |
OAuthAppSettingsBuilder |
OAuthAppSettingsBuilder.scope(String scope)
Set the OAuth 2.0 scope for the application
|
Copyright © 2012-2013. All Rights Reserved.