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