Interface ProviderConfig


public interface ProviderConfig
  • Method Details

    • getConfigId

      String getConfigId()
      Returns:
      the configuration Id
    • getPid

      String getPid()
      Returns:
      the Pid of the configuration
    • getProviderId

      String getProviderId()
      Returns:
      the configured Provider Id
    • getClientId

      String getClientId()
      Returns:
      the configured OAuth client Id
    • getClientSecret

      String getClientSecret()
      Returns:
      the configured OAuth client secret
    • getCallBackUrl

      String getCallBackUrl()
      Returns:
      the configured callback url
    • getScope

      String getScope()
      Returns:
      configured scope
    • getOAuthConfig

      OAuthConfig getOAuthConfig(String callbackUrl)
      Parameters:
      callbackUrl -
      Returns:
      the OAuthConfig given the the custom callback url
    • getOAuthService

      OAuthService getOAuthService(Provider provider, String callbackUrl)
      Parameters:
      provider -
      callbackUrl -
      Returns:
      the OAuthService given the Provider and the custom callback url