@cobaltio/cobalt-js 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/cobalt.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,6 +88,7 @@ Cobalt Frontend SDK
|
|
|
88
88
|
* [.installTemplate()](#Cobalt+installTemplate) ⇒ [<code>Promise.<Workflow></code>](#Workflow)
|
|
89
89
|
* [.getAppAuthStatus()](#Cobalt+getAppAuthStatus) ⇒ <code>Promise.<boolean></code>
|
|
90
90
|
* [.getAppAuthUrl()](#Cobalt+getAppAuthUrl) ⇒ <code>Promise.<string></code>
|
|
91
|
+
* [.setAppAuthData()](#Cobalt+setAppAuthData) ⇒ <code>Promise.<void></code>
|
|
91
92
|
* [.removeAppAuth()](#Cobalt+removeAppAuth) ⇒ <code>Promise.<void></code>
|
|
92
93
|
* [.getNodeConfiguration()](#Cobalt+getNodeConfiguration) ⇒ <code>Promise.<Array.<Field>></code>
|
|
93
94
|
* [.saveNode()](#Cobalt+saveNode) ⇒ [<code>Promise.<Workflow></code>](#Workflow)
|
|
@@ -163,6 +164,20 @@ specified application.
|
|
|
163
164
|
| --- | --- | --- |
|
|
164
165
|
| application | <code>string</code> | The application type. |
|
|
165
166
|
|
|
167
|
+
<a name="Cobalt+setAppAuthData"></a>
|
|
168
|
+
|
|
169
|
+
### cobalt.setAppAuthData() ⇒ <code>Promise.<void></code>
|
|
170
|
+
Save the auth data that user provides to authenticate themselves to the
|
|
171
|
+
specified application.
|
|
172
|
+
|
|
173
|
+
**Kind**: instance method of [<code>Cobalt</code>](#Cobalt)
|
|
174
|
+
**Properties**
|
|
175
|
+
|
|
176
|
+
| Name | Type | Description |
|
|
177
|
+
| --- | --- | --- |
|
|
178
|
+
| application | <code>string</code> | The application type. |
|
|
179
|
+
| payload | <code>object</code> | The key value pairs of auth data. |
|
|
180
|
+
|
|
166
181
|
<a name="Cobalt+removeAppAuth"></a>
|
|
167
182
|
|
|
168
183
|
### cobalt.removeAppAuth() ⇒ <code>Promise.<void></code>
|
package/cobalt.js
CHANGED