@things-factory/oauth2-client 4.0.41 → 4.0.45
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/client/pages/oauth2-client.js +10 -9
- package/package.json +10 -5
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
|
|
3
|
-
import { PageView, client, navigate, store } from '@things-factory/shell'
|
|
4
|
-
import { css, html } from 'lit'
|
|
1
|
+
import '@operato/help/ox-help-icon.js'
|
|
5
2
|
|
|
6
3
|
import Clipboard from 'clipboard'
|
|
4
|
+
import gql from 'graphql-tag'
|
|
5
|
+
import { css, html } from 'lit'
|
|
7
6
|
import { asyncReplace } from 'lit/directives/async-replace.js'
|
|
8
7
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
|
|
9
|
+
import { client } from '@operato/graphql'
|
|
10
|
+
import { notify } from '@operato/layout'
|
|
11
|
+
import { navigate, PageView, store } from '@operato/shell'
|
|
12
|
+
import { sleep } from '@operato/utils'
|
|
12
13
|
|
|
13
14
|
const OAUTH2CLIENT = `
|
|
14
15
|
id
|
|
@@ -245,7 +246,7 @@ class Oauth2Client extends connect(store)(PageView) {
|
|
|
245
246
|
<div field-2column>
|
|
246
247
|
<div field grid-span>
|
|
247
248
|
<label for='grant-type'>grant type
|
|
248
|
-
<help-icon topic='/oauth2-client/grant-type'></help-icon>
|
|
249
|
+
<ox-help-icon topic='/oauth2-client/grant-type'></ox-help-icon>
|
|
249
250
|
</label>
|
|
250
251
|
<select type='text' id="grant-type" name="grantType" .value=${oauth2Client.grantType || 'code'}
|
|
251
252
|
@change=${e => (this._grantType = e.target.value)}>
|
|
@@ -337,7 +338,7 @@ class Oauth2Client extends connect(store)(PageView) {
|
|
|
337
338
|
|
|
338
339
|
<div field grid-span>
|
|
339
340
|
<label for='code-verifier'>code verifier
|
|
340
|
-
<help-icon topic='/oauth2-client/code-verifier'></help-icon>
|
|
341
|
+
<ox-help-icon topic='/oauth2-client/code-verifier'></ox-help-icon>
|
|
341
342
|
</label>
|
|
342
343
|
<input type='text' id="code-verifier" name="codeVerifier" .value=${oauth2Client.codeVerifier || ''}>
|
|
343
344
|
<div input-hint>A random, 43-128 character string used to connect the authorization request to the token request.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/oauth2-client",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.45",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,11 +24,16 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
27
|
+
"@operato/graphql": "^0.3.28",
|
|
28
|
+
"@operato/help": "^0.3.28",
|
|
29
|
+
"@operato/layout": "^0.3.28",
|
|
30
|
+
"@operato/shell": "^0.3.28",
|
|
31
|
+
"@operato/utils": "^0.3.28",
|
|
32
|
+
"@things-factory/auth-base": "^4.0.45",
|
|
33
|
+
"@things-factory/layout-base": "^4.0.45",
|
|
34
|
+
"@things-factory/shell": "^4.0.45",
|
|
30
35
|
"client-oauth2": "^4.3.3",
|
|
31
36
|
"clipboard": "^2.0.6"
|
|
32
37
|
},
|
|
33
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "6c37578551d77fed098e5eed4cd2cc9eb9c0dd4b"
|
|
34
39
|
}
|