Class NoOpAuthManager
java.lang.Object
com.amilesend.client.connection.auth.NoOpAuthManager
- All Implemented Interfaces:
- AuthManager<NoAuthInfo>
Defines the auth manager for non-authorized/signed requests.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionokhttp3.Request.BuilderaddAuthentication(okhttp3.Request.Builder requestBuilder) Adds the authentication information to the request being built.Retrieves the current authentication info.booleanGets the authentication state.
- 
Constructor Details- 
NoOpAuthManagerpublic NoOpAuthManager()
 
- 
- 
Method Details- 
getAuthInfoDescription copied from interface:AuthManagerRetrieves the current authentication info.- Specified by:
- getAuthInfoin interface- AuthManager<NoAuthInfo>
- Returns:
- the authentication info
- See Also:
 
- 
isAuthenticatedpublic boolean isAuthenticated()Description copied from interface:AuthManagerGets the authentication state.- Specified by:
- isAuthenticatedin interface- AuthManager<NoAuthInfo>
- Returns:
- trueif authenticated; else,- false
 
- 
addAuthenticationpublic okhttp3.Request.Builder addAuthentication(okhttp3.Request.Builder requestBuilder) Description copied from interface:AuthManagerAdds the authentication information to the request being built.- Specified by:
- addAuthenticationin interface- AuthManager<NoAuthInfo>
- Parameters:
- requestBuilder- the request builder
- Returns:
- the builder with the authentication information added
 
 
-