use of oauth.signpost.signature.HmacSha1MessageSigner in project openhab1-addons by openhab.
the class WithingsAccount method createConsumer.
public OAuthConsumer createConsumer() {
consumer = new DefaultOAuthConsumer(consumerKey, consumerSecret);
consumer.setSigningStrategy(new AuthorizationHeaderSigningStrategy());
consumer.setMessageSigner(new HmacSha1MessageSigner());
return consumer;
}
Aggregations