|
| constructor (hash< auto > config, *hash< auto > attr) |
| creates the CdsRestConnection object
|
|
string | getType () |
| returns "dynamics"
|
|
| constructor (hash< auto > config, *hash< auto > attr) |
| creates the CdsRestConnection object
|
|
string | getAuthorizationCodeRequest (hash< AuthCodeInfo > info=< AuthCodeInfo >{}) |
| Returns a URI for an authorization code request.
|
|
string | getAuthUrl (*bool allow_relative) |
| Returns the OAuth2 auth URL or throws an exception if not set.
|
|
DataProvider::AbstractDataProvider | getDataProvider (*hash< auto > constructor_options) |
| returns a data provider object for this connection
|
|
string | getOAuth2OptionName (string opt) |
| Returns the OAuth2 option name for this connection.
|
|
hash< auto > | getOAuth2Options () |
| Returns OAuth2 options in a standard format.
|
|
string | getTokenUrl (*bool allow_relative) |
| Returns the OAuth2 token URL or throws an exception if not set.
|
|
string | getType () |
| returns "cdsrests"
|
|
bool | hasDataProvider () |
| returns True as this connection returns a data provider with the getDataProvider() method
|
|
bool | isAuthTokenError (int status_code, hash< auto > headers, bool body_deserialized, *string body_content_type, auto body) |
| Returns True if the response was related to an authorization token error.
|
|
|
hash< ConnectionSchemeInfo > | getConnectionSchemeInfoImpl () |
| Returns the ConnectionSchemeInfo hash for this object.
|
|
| checkAuthCodeFeature () |
| Sets the auth code feature if supported.
|
|
hash< ConnectionSchemeInfo > | getConnectionSchemeInfoImpl () |
| Returns the ConnectionSchemeInfo hash for this object.
|
|
CdsRestClient | getImpl (bool connect=True, *hash< auto > rtopts) |
| returns a CdsRestClient object
|
|
| setChildCapabilities () |
| Sets child data provider capabilities.
|
|
For REST connections to Microsoft Dynamics.