Package com.adobe.granite.auth.oauth
Interface ProviderConfig
-
public interface ProviderConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCallBackUrl()StringgetClientId()StringgetClientSecret()StringgetConfigId()OAuthConfiggetOAuthConfig(String callbackUrl)OAuthServicegetOAuthService(Provider provider, String callbackUrl)StringgetPid()StringgetProviderId()StringgetScope()
-
-
-
Method Detail
-
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
OAuthConfiggiven the the custom callback url
-
getOAuthService
OAuthService getOAuthService(Provider provider, String callbackUrl)
- Parameters:
provider-callbackUrl-- Returns:
- the
OAuthServicegiven theProviderand the custom callback url
-
-