Type Definitions
AuthenticationConfig
Oracle mobile authentication configuration.
Type:
- object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
type |
string |
<optional> |
Authentication default type: basic, oath, facebook, token |
basic |
BasicAuthConfig |
<optional> |
Basic authentication configuration |
oauth |
OAuthConfig |
<optional> |
OAuth authentication configuration |
BasicAuthConfig
Oracle mobile basic authentication configuration.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
mobileBackendId |
string | Mobile backend identifier |
anonymousKey |
string | Anonymous key for anonymous authentication |
FacebookAuthConfig
Oracle mobile facebook authentication configuration.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
appId |
string | Facebook application identifier |
anonymousKey |
string | Anonymous key for anonymous authentication |
mobileBackendId |
string | Mobile backend identifier |
scopes |
string | Facebook authentication access types: public_profile,user_friends,email,user_location,user_birthday |
Headers
Headers dictionary.
The dictionary has header as a key and a header value as a value.
Type:
- Object.<string, string>
MobileBackendConfig
Oracle mobile backend configuration.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
baseUrl |
string | Base url for the backend and analytics |
name |
string | Mobile backend name |
authentication |
AuthenticationConfig | Backend authorization's configuration |
NetworkResponseHeaders
Headers dictionary.
The dictionary has lowercase header as a key and a header value as a value.
Type:
- Object.<string, string>
OAuthConfig
Oracle mobile oauth authentication configuration.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
clientId |
string | OAuth client identifier |
clientSecret |
string | OAuth client secret key |
OracleMobileCloudConfig
Oracle mobile configuration.
Type:
- object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
logLevel |
number |
<optional> |
Log level for mcs logger. 0 NONE, 1 ERROR, 2 WARN, 3 INFO, 4 DEBUG |
logHTTP |
boolean |
<optional> |
Include http headers and requests in log |
oAuthTokenEndPoint |
string | OAuth token endpoint for OAth authentication | |
mobileBackend |
MobileBackendConfig |
<optional> |
OAuth token endpoint for OAth authentication |
sync |
SyncConfig |
<optional> |
Configuration for mcs synchronization Can't be combined with syncExpress configuration |
syncExpress |
SyncExpressConfig |
<optional> |
Configuration for sync express Can't be combined with sync configuration |
disableAnalyticsLocation |
boolean |
<optional> |
Disable logging location by legacy analytics |
PolicesConfig
Oracle sync policies configuration.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
path |
string | Path for the endpoint |
fetchPolicy |
string | Fetch policy for current path 'FETCH_FROM_CACHE_SCHEDULE_REFRESH' 'FETCH_FROM_SERVICE_IF_ONLINE' 'FETCH_FROM_SERVICE' |
SyncConfig
Oracle sync configuration.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
periodicRefreshPolicy |
string | Synchronization periodic refresh policy 'PERIODIC_REFRESH_POLICY_REFRESH_NONE' 'PERIODIC_REFRESH_POLICY_REFRESH_EXPIRED_ITEM_ON_STARTUP' 'PERIODIC_REFRESH_POLICY_PERIODICALLY_REFRESH_EXPIRED_ITEMS' |
policies |
Array.<PolicesConfig> | Polices per endpoint |
SyncExpressConfig
Oracle sync express configuration.
Type:
- object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
handler |
string |
<optional> |
Handler type to process requests OracleRestHandler - for oracle rest endpoints GenericRequestHandler - for simple rest endpoints, default value |
policies |
Array.<PolicesConfig> | Polices per endpoint |
TokenExchangeAuthConfig
Oracle mobile token exchange authentication configuration.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
mobileBackendId |
string | Mobile backend identifier |
anonymousKey |
string | Anonymous key for anonymous authentication |
clientId |
string | OAuth client identifier |
clientSecret |
string | OAuth client secret key |