Package com.cdancy.bitbucket.rest.config
Class BitbucketAuthenticationProvider
- java.lang.Object
-
- com.cdancy.bitbucket.rest.config.BitbucketAuthenticationProvider
-
- All Implemented Interfaces:
com.google.inject.Provider<BitbucketAuthentication>,javax.inject.Provider<BitbucketAuthentication>
public class BitbucketAuthenticationProvider extends java.lang.Object implements com.google.inject.Provider<BitbucketAuthentication>
Provider for BitbucketAuthentication objects. The BitbucketAuthentication should be created ahead of time with this module simply handing it out to downstream objects for injection.
-
-
Constructor Summary
Constructors Constructor Description BitbucketAuthenticationProvider(BitbucketAuthentication creds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketAuthenticationget()
-
-
-
Constructor Detail
-
BitbucketAuthenticationProvider
@Inject public BitbucketAuthenticationProvider(BitbucketAuthentication creds)
-
-
Method Detail
-
get
public BitbucketAuthentication get()
- Specified by:
getin interfacecom.google.inject.Provider<BitbucketAuthentication>- Specified by:
getin interfacejavax.inject.Provider<BitbucketAuthentication>
-
-