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) . |
Modifier and Type | Method and Description |
---|---|
SimpleOAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.apiKey(String apiKey) |
SimpleOAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.apiSecret(String apiSecret) |
SimpleOAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.callback(String callback)
Set the Callback for the application
|
SimpleOAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.name(String name) |
SimpleOAuthAppSettingsBuilder |
SimpleOAuthAppSettingsBuilder.scope(String scope) |
Copyright © 2012-2013. All Rights Reserved.