|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.netheos.pcsapi.credentials.OAuth2AppInfo
public class OAuth2AppInfo
This class holds application information for OAuth2 providers (web application workflow).
| Constructor Summary | |
|---|---|
OAuth2AppInfo(String providerName,
String appName,
String appId,
String appSecret,
List<String> scope,
String redirectUrl)
Constructor for OAuth clients |
|
| Method Summary | |
|---|---|
String |
getAppId()
|
String |
getAppName()
Get the application name |
String |
getAppSecret()
|
String |
getProviderName()
Get the storage provider name |
String |
getRedirectUrl()
|
List<String> |
getScope()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OAuth2AppInfo(String providerName,
String appName,
String appId,
String appSecret,
List<String> scope,
String redirectUrl)
providerName - lower case name of providerappName - Name of application, as registered on provider.appId - If OAuth provider, application ID (may be null)appSecret - If OAuth provider, application secret (may be null)scope - If OAuth provider, list of permissions asked by application (may be null)redirectUrl - If OAuth provider, application URL (for web application workflow) (may be null)| Method Detail |
|---|
public String getAppId()
public String getAppSecret()
public String getRedirectUrl()
public List<String> getScope()
public String getProviderName()
AppInfo
getProviderName in interface AppInfopublic String getAppName()
AppInfo
getAppName in interface AppInfopublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||