Interface ProviderConfig


  • public interface ProviderConfig
    • Method Detail

      • getConfigId

        java.lang.String getConfigId()
        Returns:
        the configuration Id
      • getPid

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

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

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

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

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

        java.lang.String getScope()
        Returns:
        configured scope
      • getOAuthConfig

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

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