ConnectedApplication

Represents a connected app and its details; all fields are read-only.

Connected apps link client applications, third-party services, other Salesforce organizations, apps and resources to your organization. The connected app configuration specifies authorization and security settings for these resources. This object exposes the settings for a specified connected app.

Supported Calls

describeSObjects()query()retrieve()

Fields

Field Name Details
MobileSessionTimeout
Type
picklist
Properties
Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
Description

Length of time after which the system logs out inactive mobile users.

MobileStartUrl
Type
url
Properties
Filter, idLookup, Nillable, Sort
Description

Users are directed to this URL after they’ve authenticated when the app is accessed from a mobile device.

Name
Type
string
Properties
Filter, Group, Sort
Description

The unique name for this object.

OptionsAllowAdminApprovedUsersOnly
Type
boolean
Properties
Filter
Description

Indicates whether access is limited to users granted approval to use the connected app by an administrator. Manage profiles for the app by editing each profile’s Access list.

OptionsHasSessionLevelPolicy
Type
boolean
Properties
Filter
Description

Specifies whether the connected app requires a High Assurance level session.

OptionsRefreshTokenValidityMetric
Type
boolean
Properties
Filter
Description

Specifies whether the refresh token validity is based on duration or inactivity. If true, the token validity is measured based on the last use of the token; otherwise, it is based on the token duration.

PinLength
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description

For mobile apps, this is the PIN length requirement for users of the connected app.Valid values are 5, 6, 7, 8 or 9.

RefreshTokenValidityPeriod
Type
int
Properties
Filter, Group, Nillable, Sort
Description

The duration of an authorization token until it expires in hours, months or days as set in the connected app management page.

StartUrl
Type
url
Properties
Filter, Nillable, Sort
Description

If the app is not accessed from a mobile device, users are directed to this URL after they’ve authenticated.