com.atlassian.gadgets.renderer.internal.guice
Class AuthModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.atlassian.gadgets.renderer.internal.guice.AuthModule
All Implemented Interfaces:
com.google.inject.Module

public class AuthModule
extends com.google.inject.AbstractModule

A Module to configure Shindigs authentication. Most importantly, it binds ours own custom OAuthStore and OAuthFetcherFactory.


Constructor Summary
AuthModule(com.atlassian.oauth.consumer.ConsumerService consumerService, com.atlassian.oauth.consumer.ConsumerTokenStore tokenStore)
           
 
Method Summary
protected  void configure()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindScope, configure, install, requestStaticInjection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthModule

public AuthModule(com.atlassian.oauth.consumer.ConsumerService consumerService,
                  com.atlassian.oauth.consumer.ConsumerTokenStore tokenStore)
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule


Copyright © 2009 Atlassian. All Rights Reserved.