Class MailruOAuthService

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class MailruOAuthService
    extends com.github.scribejava.core.oauth.OAuth20Service
    • Constructor Summary

      Constructors 
      Constructor Description
      MailruOAuthService​(com.github.scribejava.core.builder.api.DefaultApi20 api, java.lang.String apiKey, java.lang.String apiSecret, java.lang.String callback, java.lang.String scope, java.lang.String responseType, java.lang.String userAgent, com.github.scribejava.core.httpclient.HttpClientConfig httpClientConfig, com.github.scribejava.core.httpclient.HttpClient httpClient)  
      MailruOAuthService​(com.github.scribejava.core.builder.api.DefaultApi20 api, java.lang.String apiKey, java.lang.String apiSecret, java.lang.String callback, java.lang.String scope, java.lang.String state, java.lang.String responseType, java.lang.String userAgent, com.github.scribejava.core.httpclient.HttpClientConfig httpClientConfig, com.github.scribejava.core.httpclient.HttpClient httpClient)
      Deprecated.
      use one of getAuthorizationUrl method in OAuth20Service
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String md5​(java.lang.String orgString)  
      void signRequest​(java.lang.String accessToken, com.github.scribejava.core.model.OAuthRequest request)  
      • Methods inherited from class com.github.scribejava.core.oauth.OAuth20Service

        createAccessTokenClientCredentialsGrantRequest, createAccessTokenPasswordGrantRequest, createAccessTokenRequest, createAccessTokenRequest, createRefreshTokenRequest, createRevokeTokenRequest, extractAuthorization, getAccessToken, getAccessToken, getAccessToken, getAccessToken, getAccessTokenAsync, getAccessTokenAsync, getAccessTokenClientCredentialsGrant, getAccessTokenClientCredentialsGrant, getAccessTokenClientCredentialsGrantAsync, getAccessTokenPasswordGrant, getAccessTokenPasswordGrantAsync, getAccessTokenPasswordGrantAsync, getApi, getAuthorizationUrl, getAuthorizationUrl, getAuthorizationUrl, getAuthorizationUrl, getAuthorizationUrl, getAuthorizationUrl, getAuthorizationUrl, getAuthorizationUrl, getAuthorizationUrlWithPKCE, getAuthorizationUrlWithPKCE, getAuthorizationUrlWithPKCE, getAuthorizationUrlWithPKCE, getResponseType, getState, getVersion, refreshAccessToken, refreshAccessToken, refreshAccessTokenAsync, revokeToken, revokeToken, revokeToken, revokeToken, revokeTokenAsync, revokeTokenAsync, sendAccessTokenRequestAsync, sendAccessTokenRequestAsync, sendAccessTokenRequestSync, setState, signRequest
      • Methods inherited from class com.github.scribejava.core.oauth.OAuthService

        close, execute, execute, execute, executeAsync, getApiKey, getApiSecret, getCallback, getScope
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MailruOAuthService

        @Deprecated
        public MailruOAuthService​(com.github.scribejava.core.builder.api.DefaultApi20 api,
                                  java.lang.String apiKey,
                                  java.lang.String apiSecret,
                                  java.lang.String callback,
                                  java.lang.String scope,
                                  java.lang.String state,
                                  java.lang.String responseType,
                                  java.lang.String userAgent,
                                  com.github.scribejava.core.httpclient.HttpClientConfig httpClientConfig,
                                  com.github.scribejava.core.httpclient.HttpClient httpClient)
        Deprecated.
        use one of getAuthorizationUrl method in OAuth20Service
        Parameters:
        api - api
        apiKey - apiKey
        apiSecret - apiSecret
        callback - callback
        scope - scope
        state - state
        responseType - responseType
        userAgent - userAgent
        httpClientConfig - httpClientConfig
        httpClient - httpClient
      • MailruOAuthService

        public MailruOAuthService​(com.github.scribejava.core.builder.api.DefaultApi20 api,
                                  java.lang.String apiKey,
                                  java.lang.String apiSecret,
                                  java.lang.String callback,
                                  java.lang.String scope,
                                  java.lang.String responseType,
                                  java.lang.String userAgent,
                                  com.github.scribejava.core.httpclient.HttpClientConfig httpClientConfig,
                                  com.github.scribejava.core.httpclient.HttpClient httpClient)
    • Method Detail

      • signRequest

        public void signRequest​(java.lang.String accessToken,
                                com.github.scribejava.core.model.OAuthRequest request)
        Overrides:
        signRequest in class com.github.scribejava.core.oauth.OAuth20Service
      • md5

        public static java.lang.String md5​(java.lang.String orgString)