Package com.adobe.granite.auth.oauth
Interface ProviderConfig
public interface ProviderConfig
-
Method Summary
Modifier and TypeMethodDescriptiongetOAuthConfig(String callbackUrl) getOAuthService(Provider provider, String callbackUrl) getPid()getScope()
-
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
- Parameters:
callbackUrl-- Returns:
- the
OAuthConfiggiven the the custom callback url
-
getOAuthService
- Parameters:
provider-callbackUrl-- Returns:
- the
OAuthServicegiven theProviderand the custom callback url
-