public abstract class SimpleOAuthConnectedSystemTemplate extends SimpleConnectedSystemTemplate implements OAuthConnectedSystemTemplate
SimpleConnectedSystemTemplate
that uses the Authorization Code Grant type
Connected System Templates that extend SimpleOAuthConnectedSystemTemplate
can be authorized from the UI by a designer.
getOAuthConfiguration(SimpleConfiguration)
is called when a designer
attempts to authorize.
typePropertyFactory
Constructor and Description |
---|
SimpleOAuthConnectedSystemTemplate() |
Modifier and Type | Method and Description |
---|---|
OAuthConfigurationData |
getOAuthConfiguration(ConfigurationDescriptor configurationDescriptor) |
protected abstract OAuthConfigurationData |
getOAuthConfiguration(SimpleConfiguration configuration)
Given designer entered data, returns information needed to authorize using OAuth 2.0 authorization code grant
Given the designer entered information contained in the
SimpleConfiguration , returns
OAuthConfigurationData that contains the information needed to prompt the designer to authorize
|
getConfiguration, getConfigurationDescriptor
booleanProperty, deroot, documentProperty, doubleProperty, dropdownProperty, encryptedTextProperty, folderProperty, integerProperty, listTypeProperty, localType, localTypeProperty, localTypeProperty, textProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationDescriptor
protected abstract OAuthConfigurationData getOAuthConfiguration(SimpleConfiguration configuration)
Given the designer entered information contained in the SimpleConfiguration
, returns
OAuthConfigurationData
that contains the information needed to prompt the designer to authorize
configuration
- The current configuration of the Appian Connected System object.
This will never be null
.public OAuthConfigurationData getOAuthConfiguration(ConfigurationDescriptor configurationDescriptor)
getOAuthConfiguration
in interface OAuthConnectedSystemTemplate
Copyright © 2018-present Appian Corporation. All Rights Reserved.