public interface FlattrServiceFactory
The factory implementation is preconfigured with the consumer key and consumer secret
on constuction time, optionally also with a default access token. When the
FlattrServiceFactory bean is injected, it is already properly configured and
ready to use.
| Modifier and Type | Method and Description |
|---|---|
FlattrAuthenticator |
getFlattrAuthenticator()
Creates a new
FlattrAuthenticator. |
FlattrService |
getFlattrService()
Creates a new
FlattrService instance, using a default access token. |
FlattrService |
getFlattrService(AccessToken accessToken)
Creates a new
FlattrService instance. |
FlattrService getFlattrService()
FlattrService instance, using a default access token. If no
default access token is set, an exception will be thrown.FlattrService instance. Each invocation creates a new instance.FlattrService getFlattrService(AccessToken accessToken)
FlattrService instance.accessToken - AccessToken to be used by the FlattrServiceFlattrService instance. Each invocation creates a new instance.FlattrAuthenticator getFlattrAuthenticator()
FlattrAuthenticator.FlattrAuthenticator instance. Each invocation creates a new
instance.Copyright © 2010–2014. All rights reserved.