Package de.msi.oauth.flow
Interface OAuthFlow
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OAuthFlow
The entry point for performing a complete
OAuth 1.0a authentication process.
Use of(RequestTokenFlowParam) to create a new instance.
- Author:
- Martin Siegemund
- See Also:
- OAuth Core 1.0 Revision A
-
Method Summary
Modifier and Type Method Description static OAuthFlowof(RequestTokenFlowParam rtfp)Create a newOAuthFlowinstance.RequestTokenFlowrequestTokenFlow()Create the phase for acquiring the request token.
-
Method Details
-
requestTokenFlow
RequestTokenFlow requestTokenFlow()Create the phase for acquiring the request token.- Returns:
- the
RequestTokenFlow
-
of
Create a newOAuthFlowinstance.- Parameters:
rtfp- the initial parameters, required to begin the authentication flow process- Returns:
- a new
OAuthFlowinstance
-