Class OurOAuth20ServiceBridge
- java.lang.Object
-
- org.plutext.msgraph.convert.scribe.adaption.OurOAuth20ServiceBridge
-
public class OurOAuth20ServiceBridge extends java.lang.ObjectIn order to send resource param using scribejava 7.0.0; see https://github.com/scribejava/scribejava/pull/979
-
-
Field Summary
Fields Modifier and Type Field Description private com.github.scribejava.apis.MicrosoftAzureActiveDirectory20Apiapiprivate com.github.scribejava.core.oauth.OAuth20ServiceauthenticationService
-
Constructor Summary
Constructors Constructor Description OurOAuth20ServiceBridge(com.github.scribejava.core.oauth.OAuth20Service authenticationService, com.github.scribejava.apis.MicrosoftAzureActiveDirectory20Api api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.github.scribejava.core.model.OAuthRequestcreateAccessTokenClientCredentialsGrantRequest()com.github.scribejava.core.model.Responseexecute(com.github.scribejava.core.model.OAuthRequest request)com.github.scribejava.core.model.OAuth2AccessTokengetAccessTokenClientCredentialsGrant()protected com.github.scribejava.core.model.OAuth2AccessTokensendAccessTokenRequestSync(com.github.scribejava.core.model.OAuthRequest request)
-
-
-
Method Detail
-
getAccessTokenClientCredentialsGrant
public com.github.scribejava.core.model.OAuth2AccessToken getAccessTokenClientCredentialsGrant() throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException- Throws:
java.io.IOExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
createAccessTokenClientCredentialsGrantRequest
protected com.github.scribejava.core.model.OAuthRequest createAccessTokenClientCredentialsGrantRequest()
-
sendAccessTokenRequestSync
protected com.github.scribejava.core.model.OAuth2AccessToken sendAccessTokenRequestSync(com.github.scribejava.core.model.OAuthRequest request) throws java.io.IOException, java.lang.InterruptedException, java.util.concurrent.ExecutionException- Throws:
java.io.IOExceptionjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionException
-
execute
public com.github.scribejava.core.model.Response execute(com.github.scribejava.core.model.OAuthRequest request) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.io.IOException- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.io.IOException
-
-