Package de.msi.oauth.flow
Interface AccessTokenFlowParam
- All Superinterfaces:
AccessTokenFlowFactoryParam
public interface AccessTokenFlowParam extends AccessTokenFlowFactoryParam
All parameters, required to perform the token exchange.
It is possible to create an instance of this flows phase by using the AccessTokenIntermediateFactory.
- Author:
- Martin Siegemund
- See Also:
- 6.3. Obtaining an Access Token
-
Method Summary
Modifier and Type Method Description ConsumerKeyconsumerKey()Retrieve the consumer key.booleanincludeVersion()Retrieve the information about weather or not the version information should be included.UserRequestTokenuserUnauthorizedRequestToken()Retrieve theUserRequestTokenwhich is required to perform the token exchange.VerificationCodeverificationCode()Retrieve the verification code.Methods inherited from interface de.msi.oauth.flow.AccessTokenFlowFactoryParam
signatureMethod, userObtainAccessToken
-
Method Details
-
consumerKey
ConsumerKey consumerKey()Retrieve the consumer key.- Returns:
- the key
-
includeVersion
boolean includeVersion()Retrieve the information about weather or not the version information should be included.- Returns:
trueif the version information field should be included, otherwisefalse
-
userUnauthorizedRequestToken
UserRequestToken userUnauthorizedRequestToken()Retrieve theUserRequestTokenwhich is required to perform the token exchange.- Returns:
- the
UserRequestToken
-
verificationCode
VerificationCode verificationCode()Retrieve the verification code.- Returns:
- the code
-