Package org.scribe.builder.api
Class FreelancerApi.Sandbox
- java.lang.Object
-
- org.scribe.builder.api.DefaultApi10a
-
- org.scribe.builder.api.FreelancerApi
-
- org.scribe.builder.api.FreelancerApi.Sandbox
-
- All Implemented Interfaces:
Api
- Enclosing class:
- FreelancerApi
public static class FreelancerApi.Sandbox extends FreelancerApi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.scribe.builder.api.FreelancerApi
FreelancerApi.Sandbox
-
-
Constructor Summary
Constructors Constructor Description Sandbox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccessTokenEndpoint()
Returns the URL that receives the access token requests.java.lang.String
getAuthorizationUrl(Token requestToken)
Returns the URL where you should redirect your users to authenticate your application.java.lang.String
getRequestTokenEndpoint()
Returns the URL that receives the request token requests.-
Methods inherited from class org.scribe.builder.api.FreelancerApi
getAccessTokenVerb, getRequestTokenVerb
-
Methods inherited from class org.scribe.builder.api.DefaultApi10a
createService, getAccessTokenExtractor, getBaseStringExtractor, getHeaderExtractor, getRequestTokenExtractor, getSignatureService, getTimestampService
-
-
-
-
Method Detail
-
getRequestTokenEndpoint
public java.lang.String getRequestTokenEndpoint()
Description copied from class:DefaultApi10a
Returns the URL that receives the request token requests.- Overrides:
getRequestTokenEndpoint
in classFreelancerApi
- Returns:
- request token URL
-
getAccessTokenEndpoint
public java.lang.String getAccessTokenEndpoint()
Description copied from class:DefaultApi10a
Returns the URL that receives the access token requests.- Overrides:
getAccessTokenEndpoint
in classFreelancerApi
- Returns:
- access token URL
-
getAuthorizationUrl
public java.lang.String getAuthorizationUrl(Token requestToken)
Description copied from class:DefaultApi10a
Returns the URL where you should redirect your users to authenticate your application.- Overrides:
getAuthorizationUrl
in classFreelancerApi
- Parameters:
requestToken
- the request token you need to authorize- Returns:
- the URL where you should redirect your users
-
-