Package de.msi.oauth.flow
Interface UserAuthorizationFlowParam
- All Superinterfaces:
UserAuthorizationFlowFactoryParam
public interface UserAuthorizationFlowParam extends UserAuthorizationFlowFactoryParam
Mandatory parameter for creating a
UserAuthorizationFlow.- Author:
- Martin Siegemund
- See Also:
- 6.2. Obtaining User Authorization
-
Method Summary
Modifier and Type Method Description ConsumerKeyconsumerKey()Retrieve theConsumerKey.booleanincludeVersion()Retrieve the information about weather or not, theoauth_versioninformation should be included within the header fields.UserRequestTokenuserUnauthorizedRequestToken()Retrieve theUserRequestToken.Methods inherited from interface de.msi.oauth.flow.UserAuthorizationFlowFactoryParam
userAuthorization
-
Method Details
-
consumerKey
ConsumerKey consumerKey()Retrieve theConsumerKey.- Returns:
- the
ConsumerKey
-
includeVersion
boolean includeVersion()Retrieve the information about weather or not, theoauth_versioninformation should be included within the header fields.- Returns:
trueif the information should be included, otherwisefalse
-
userUnauthorizedRequestToken
UserRequestToken userUnauthorizedRequestToken()Retrieve theUserRequestToken.- Returns:
- the
UserRequestToken
-