Class CronofyApi20

java.lang.Object
com.github.scribejava.core.builder.api.DefaultApi20
org.pac4j.scribe.builder.api.CronofyApi20

public final class CronofyApi20 extends com.github.scribejava.core.builder.api.DefaultApi20
This class represents the OAuth API implementation for Cronofy.

More information at https://docs.cronofy.com/developers/authorization/

Since:
5.3.1
Author:
Jerome LELEU
  • Constructor Summary

    Constructors
    Constructor
    Description
    CronofyApi20(String sdkIdentifier)
    Constructor for CronofyApi20.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.scribejava.core.oauth.OAuth20Service
    createService(String apiKey, String apiSecret, String callback, String defaultScope, String responseType, OutputStream debugStream, String userAgent, com.github.scribejava.core.httpclient.HttpClientConfig httpClientConfig, com.github.scribejava.core.httpclient.HttpClient httpClient)
    protected String

    Methods inherited from class com.github.scribejava.core.builder.api.DefaultApi20

    getAccessTokenExtractor, getAccessTokenVerb, getAuthorizationUrl, getBearerSignature, getClientAuthentication, getDeviceAuthorizationEndpoint, getDeviceAuthorizationExtractor, getRefreshTokenEndpoint, getRevokeTokenEndpoint

    Methods inherited from class java.lang.Object

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

    • CronofyApi20

      public CronofyApi20(String sdkIdentifier)

      Constructor for CronofyApi20.

      Parameters:
      sdkIdentifier - a String object
  • Method Details

    • getAccessTokenEndpoint

      public String getAccessTokenEndpoint()
      Specified by:
      getAccessTokenEndpoint in class com.github.scribejava.core.builder.api.DefaultApi20
    • getAuthorizationBaseUrl

      protected String getAuthorizationBaseUrl()
      Specified by:
      getAuthorizationBaseUrl in class com.github.scribejava.core.builder.api.DefaultApi20
    • createService

      public com.github.scribejava.core.oauth.OAuth20Service createService(String apiKey, String apiSecret, String callback, String defaultScope, String responseType, OutputStream debugStream, String userAgent, com.github.scribejava.core.httpclient.HttpClientConfig httpClientConfig, com.github.scribejava.core.httpclient.HttpClient httpClient)
      Overrides:
      createService in class com.github.scribejava.core.builder.api.DefaultApi20