3 <class>OAuthClient
</class>
4 <name>civicrm_oauth_client
</name>
8 <title>Internal Client ID
</title>
9 <type>int unsigned
</type>
10 <comment>Internal Client ID
</comment>
15 <autoincrement>true
</autoincrement>
20 <title>Provider
</title>
24 <callback>CRM_OAuth_BAO_OAuthClient::getProviders
</callback>
26 <required>true
</required>
27 <comment>Provider
</comment>
31 <name>UI_provider
</name>
32 <fieldName>provider
</fieldName>
38 <title>Client ID
</title>
41 <required>true
</required>
42 <comment>Client ID
</comment>
47 <fieldName>guid
</fieldName>
53 <title>Client Secret
</title>
55 <comment>Client Secret
</comment>
57 <!-- Would prefer this be write-only for std admin, and read-write with special/elevated perm -->
59 <!--<or>manage OAuth client secrets</or>-->
66 <comment>Extra override options for the service (JSON)
</comment>
67 <!-- Ex: urlAuthorize, urlAccessToken, urlResourceOwnerDetails, scopes -->
68 <serialize>JSON
</serialize>
75 <name>is_active
</name>
76 <title>Is Active
</title>
79 <required>true
</required>
80 <comment>Is the client currently enabled?
</comment>
84 <name>created_date
</name>
85 <type>timestamp
</type>
86 <comment>When the client was created.
</comment>
87 <required>true
</required>
88 <default>CURRENT_TIMESTAMP
</default>
92 <name>modified_date
</name>
93 <type>timestamp
</type>
94 <comment>When the client was created or modified.
</comment>
95 <required>true
</required>
96 <default>CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
</default>