@almadar/std 6.5.2 → 7.2.0
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/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-service-oauth",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-service-oauth as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "ServiceOauthOrbital",
|
|
@@ -71,8 +71,73 @@
|
|
|
71
71
|
"traits": [
|
|
72
72
|
{
|
|
73
73
|
"name": "ServiceOauthOauth",
|
|
74
|
-
"linkedEntity": "ServiceOauth",
|
|
75
74
|
"category": "interaction",
|
|
75
|
+
"linkedEntity": "ServiceOauth",
|
|
76
|
+
"emits": [
|
|
77
|
+
{
|
|
78
|
+
"event": "ServiceOauthLoaded",
|
|
79
|
+
"description": "Fired when ServiceOauth finishes loading",
|
|
80
|
+
"scope": "internal",
|
|
81
|
+
"payload": [
|
|
82
|
+
{
|
|
83
|
+
"name": "id",
|
|
84
|
+
"type": "string",
|
|
85
|
+
"required": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "provider",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "authUrl",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "accessToken",
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "refreshToken",
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "authStatus",
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "error",
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "name",
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "description",
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "status",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "createdAt",
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"event": "ServiceOauthLoadFailed",
|
|
131
|
+
"description": "Fired when ServiceOauth fails to load",
|
|
132
|
+
"scope": "internal",
|
|
133
|
+
"payload": [
|
|
134
|
+
{
|
|
135
|
+
"name": "message",
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
],
|
|
76
141
|
"stateMachine": {
|
|
77
142
|
"states": [
|
|
78
143
|
{
|
|
@@ -103,7 +168,7 @@
|
|
|
103
168
|
},
|
|
104
169
|
{
|
|
105
170
|
"key": "AUTH_URL_RECEIVED",
|
|
106
|
-
"name": "Auth
|
|
171
|
+
"name": "Auth Url Received",
|
|
107
172
|
"payload": [
|
|
108
173
|
{
|
|
109
174
|
"name": "authUrl",
|
|
@@ -114,7 +179,7 @@
|
|
|
114
179
|
},
|
|
115
180
|
{
|
|
116
181
|
"key": "CALLBACK",
|
|
117
|
-
"name": "
|
|
182
|
+
"name": "Callback",
|
|
118
183
|
"payload": [
|
|
119
184
|
{
|
|
120
185
|
"name": "code",
|
|
@@ -123,6 +188,17 @@
|
|
|
123
188
|
}
|
|
124
189
|
]
|
|
125
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"key": "FAILED",
|
|
193
|
+
"name": "Failed",
|
|
194
|
+
"payload": [
|
|
195
|
+
{
|
|
196
|
+
"name": "error",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"required": true
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
126
202
|
{
|
|
127
203
|
"key": "TOKEN_RECEIVED",
|
|
128
204
|
"name": "Token Received",
|
|
@@ -141,7 +217,11 @@
|
|
|
141
217
|
},
|
|
142
218
|
{
|
|
143
219
|
"key": "REFRESH",
|
|
144
|
-
"name": "Refresh
|
|
220
|
+
"name": "Refresh"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"key": "LOGOUT",
|
|
224
|
+
"name": "Logout"
|
|
145
225
|
},
|
|
146
226
|
{
|
|
147
227
|
"key": "TOKEN_REFRESHED",
|
|
@@ -155,23 +235,22 @@
|
|
|
155
235
|
]
|
|
156
236
|
},
|
|
157
237
|
{
|
|
158
|
-
"key": "
|
|
159
|
-
"name": "
|
|
238
|
+
"key": "RETRY",
|
|
239
|
+
"name": "Retry"
|
|
160
240
|
},
|
|
161
241
|
{
|
|
162
|
-
"key": "
|
|
163
|
-
"name": "
|
|
242
|
+
"key": "ServiceOauthLoaded",
|
|
243
|
+
"name": "ServiceOauth loaded"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"key": "ServiceOauthLoadFailed",
|
|
247
|
+
"name": "ServiceOauth load failed",
|
|
164
248
|
"payload": [
|
|
165
249
|
{
|
|
166
|
-
"name": "
|
|
167
|
-
"type": "string"
|
|
168
|
-
"required": true
|
|
250
|
+
"name": "message",
|
|
251
|
+
"type": "string"
|
|
169
252
|
}
|
|
170
253
|
]
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"key": "RETRY",
|
|
174
|
-
"name": "Retry"
|
|
175
254
|
}
|
|
176
255
|
],
|
|
177
256
|
"transitions": [
|
|
@@ -182,43 +261,42 @@
|
|
|
182
261
|
"effects": [
|
|
183
262
|
[
|
|
184
263
|
"fetch",
|
|
185
|
-
"ServiceOauth"
|
|
264
|
+
"ServiceOauth",
|
|
265
|
+
{
|
|
266
|
+
"emit": {
|
|
267
|
+
"success": "ServiceOauthLoaded",
|
|
268
|
+
"failure": "ServiceOauthLoadFailed"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
186
271
|
],
|
|
187
272
|
[
|
|
188
273
|
"render-ui",
|
|
189
274
|
"main",
|
|
190
275
|
{
|
|
191
|
-
"type": "stack",
|
|
192
|
-
"direction": "vertical",
|
|
193
|
-
"gap": "lg",
|
|
194
|
-
"align": "center",
|
|
195
276
|
"children": [
|
|
196
277
|
{
|
|
197
|
-
"type": "stack",
|
|
198
|
-
"direction": "horizontal",
|
|
199
|
-
"gap": "md",
|
|
200
|
-
"align": "center",
|
|
201
278
|
"children": [
|
|
202
279
|
{
|
|
203
280
|
"type": "icon",
|
|
204
|
-
"
|
|
205
|
-
"
|
|
281
|
+
"size": "lg",
|
|
282
|
+
"name": "lock"
|
|
206
283
|
},
|
|
207
284
|
{
|
|
208
|
-
"type": "typography",
|
|
209
285
|
"content": "Sign In",
|
|
286
|
+
"type": "typography",
|
|
210
287
|
"variant": "h2"
|
|
211
288
|
}
|
|
212
|
-
]
|
|
289
|
+
],
|
|
290
|
+
"type": "stack",
|
|
291
|
+
"direction": "horizontal",
|
|
292
|
+
"align": "center",
|
|
293
|
+
"gap": "md"
|
|
213
294
|
},
|
|
214
295
|
{
|
|
215
296
|
"type": "divider"
|
|
216
297
|
},
|
|
217
298
|
{
|
|
218
|
-
"type": "select",
|
|
219
299
|
"label": "Provider",
|
|
220
|
-
"field": "provider",
|
|
221
|
-
"bind": "@entity.provider",
|
|
222
300
|
"options": [
|
|
223
301
|
{
|
|
224
302
|
"label": "Google",
|
|
@@ -229,19 +307,26 @@
|
|
|
229
307
|
"value": "github"
|
|
230
308
|
},
|
|
231
309
|
{
|
|
232
|
-
"
|
|
233
|
-
"
|
|
310
|
+
"value": "microsoft",
|
|
311
|
+
"label": "Microsoft"
|
|
234
312
|
}
|
|
235
|
-
]
|
|
313
|
+
],
|
|
314
|
+
"type": "select",
|
|
315
|
+
"field": "provider",
|
|
316
|
+
"bind": "@entity.provider"
|
|
236
317
|
},
|
|
237
318
|
{
|
|
238
|
-
"
|
|
319
|
+
"variant": "primary",
|
|
320
|
+
"icon": "log-in",
|
|
239
321
|
"label": "Login",
|
|
240
322
|
"event": "LOGIN",
|
|
241
|
-
"
|
|
242
|
-
"icon": "log-in"
|
|
323
|
+
"type": "button"
|
|
243
324
|
}
|
|
244
|
-
]
|
|
325
|
+
],
|
|
326
|
+
"align": "center",
|
|
327
|
+
"gap": "lg",
|
|
328
|
+
"direction": "vertical",
|
|
329
|
+
"type": "stack"
|
|
245
330
|
}
|
|
246
331
|
]
|
|
247
332
|
]
|
|
@@ -255,9 +340,9 @@
|
|
|
255
340
|
"render-ui",
|
|
256
341
|
"main",
|
|
257
342
|
{
|
|
343
|
+
"message": "Redirecting to provider for authorization.",
|
|
258
344
|
"type": "loading-state",
|
|
259
|
-
"title": "Authorizing..."
|
|
260
|
-
"message": "Redirecting to provider for authorization."
|
|
345
|
+
"title": "Authorizing..."
|
|
261
346
|
}
|
|
262
347
|
],
|
|
263
348
|
[
|
|
@@ -265,11 +350,11 @@
|
|
|
265
350
|
"oauth",
|
|
266
351
|
"authorize",
|
|
267
352
|
{
|
|
268
|
-
"provider": "@entity.provider",
|
|
269
353
|
"scopes": [
|
|
270
354
|
"openid",
|
|
271
355
|
"email"
|
|
272
|
-
]
|
|
356
|
+
],
|
|
357
|
+
"provider": "@entity.provider"
|
|
273
358
|
}
|
|
274
359
|
]
|
|
275
360
|
]
|
|
@@ -288,10 +373,10 @@
|
|
|
288
373
|
"render-ui",
|
|
289
374
|
"main",
|
|
290
375
|
{
|
|
291
|
-
"type": "stack",
|
|
292
376
|
"direction": "vertical",
|
|
293
|
-
"
|
|
377
|
+
"type": "stack",
|
|
294
378
|
"align": "center",
|
|
379
|
+
"gap": "lg",
|
|
295
380
|
"children": [
|
|
296
381
|
{
|
|
297
382
|
"type": "icon",
|
|
@@ -299,28 +384,28 @@
|
|
|
299
384
|
"size": "lg"
|
|
300
385
|
},
|
|
301
386
|
{
|
|
302
|
-
"type": "typography",
|
|
303
387
|
"content": "Authorization Required",
|
|
388
|
+
"type": "typography",
|
|
304
389
|
"variant": "h2"
|
|
305
390
|
},
|
|
306
391
|
{
|
|
307
|
-
"type": "typography",
|
|
308
392
|
"content": "@entity.authUrl",
|
|
309
393
|
"variant": "body",
|
|
394
|
+
"type": "typography",
|
|
310
395
|
"color": "muted"
|
|
311
396
|
},
|
|
312
397
|
{
|
|
313
398
|
"type": "input",
|
|
314
|
-
"label": "Authorization Code",
|
|
315
399
|
"field": "code",
|
|
316
|
-
"placeholder": "Paste authorization code here"
|
|
400
|
+
"placeholder": "Paste authorization code here",
|
|
401
|
+
"label": "Authorization Code"
|
|
317
402
|
},
|
|
318
403
|
{
|
|
319
|
-
"type": "button",
|
|
320
404
|
"label": "Submit",
|
|
321
405
|
"event": "CALLBACK",
|
|
322
406
|
"variant": "primary",
|
|
323
|
-
"icon": "check"
|
|
407
|
+
"icon": "check",
|
|
408
|
+
"type": "button"
|
|
324
409
|
}
|
|
325
410
|
]
|
|
326
411
|
}
|
|
@@ -344,10 +429,10 @@
|
|
|
344
429
|
"render-ui",
|
|
345
430
|
"main",
|
|
346
431
|
{
|
|
432
|
+
"align": "center",
|
|
347
433
|
"type": "stack",
|
|
348
434
|
"direction": "vertical",
|
|
349
435
|
"gap": "lg",
|
|
350
|
-
"align": "center",
|
|
351
436
|
"children": [
|
|
352
437
|
{
|
|
353
438
|
"type": "icon",
|
|
@@ -355,37 +440,74 @@
|
|
|
355
440
|
"size": "lg"
|
|
356
441
|
},
|
|
357
442
|
{
|
|
358
|
-
"type": "alert",
|
|
359
443
|
"variant": "success",
|
|
360
|
-
"message": "Authenticated successfully"
|
|
444
|
+
"message": "Authenticated successfully",
|
|
445
|
+
"type": "alert"
|
|
361
446
|
},
|
|
362
447
|
{
|
|
363
|
-
"type": "stack",
|
|
364
|
-
"direction": "horizontal",
|
|
365
448
|
"gap": "sm",
|
|
366
449
|
"justify": "center",
|
|
367
450
|
"children": [
|
|
368
451
|
{
|
|
369
|
-
"type": "button",
|
|
370
452
|
"label": "Refresh Token",
|
|
371
|
-
"
|
|
453
|
+
"icon": "refresh-cw",
|
|
372
454
|
"variant": "outline",
|
|
373
|
-
"
|
|
455
|
+
"type": "button",
|
|
456
|
+
"event": "REFRESH"
|
|
374
457
|
},
|
|
375
458
|
{
|
|
376
|
-
"type": "button",
|
|
377
459
|
"label": "Logout",
|
|
378
|
-
"
|
|
460
|
+
"icon": "log-out",
|
|
461
|
+
"type": "button",
|
|
379
462
|
"variant": "ghost",
|
|
380
|
-
"
|
|
463
|
+
"event": "LOGOUT"
|
|
381
464
|
}
|
|
382
|
-
]
|
|
465
|
+
],
|
|
466
|
+
"direction": "horizontal",
|
|
467
|
+
"type": "stack"
|
|
383
468
|
}
|
|
384
469
|
]
|
|
385
470
|
}
|
|
386
471
|
]
|
|
387
472
|
]
|
|
388
473
|
},
|
|
474
|
+
{
|
|
475
|
+
"from": "authorizing",
|
|
476
|
+
"to": "error",
|
|
477
|
+
"event": "FAILED",
|
|
478
|
+
"effects": [
|
|
479
|
+
[
|
|
480
|
+
"set",
|
|
481
|
+
"@entity.error",
|
|
482
|
+
"@payload.error"
|
|
483
|
+
],
|
|
484
|
+
[
|
|
485
|
+
"render-ui",
|
|
486
|
+
"main",
|
|
487
|
+
{
|
|
488
|
+
"type": "stack",
|
|
489
|
+
"gap": "lg",
|
|
490
|
+
"direction": "vertical",
|
|
491
|
+
"children": [
|
|
492
|
+
{
|
|
493
|
+
"type": "error-state",
|
|
494
|
+
"onRetry": "RETRY",
|
|
495
|
+
"message": "@entity.error",
|
|
496
|
+
"title": "Authentication Failed"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"type": "button",
|
|
500
|
+
"variant": "primary",
|
|
501
|
+
"icon": "rotate-ccw",
|
|
502
|
+
"label": "Try Again",
|
|
503
|
+
"event": "RETRY"
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"align": "center"
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
]
|
|
510
|
+
},
|
|
389
511
|
{
|
|
390
512
|
"from": "authenticated",
|
|
391
513
|
"to": "authenticated",
|
|
@@ -410,10 +532,10 @@
|
|
|
410
532
|
"render-ui",
|
|
411
533
|
"main",
|
|
412
534
|
{
|
|
413
|
-
"type": "stack",
|
|
414
|
-
"direction": "vertical",
|
|
415
535
|
"gap": "lg",
|
|
536
|
+
"direction": "vertical",
|
|
416
537
|
"align": "center",
|
|
538
|
+
"type": "stack",
|
|
417
539
|
"children": [
|
|
418
540
|
{
|
|
419
541
|
"type": "icon",
|
|
@@ -421,31 +543,31 @@
|
|
|
421
543
|
"size": "lg"
|
|
422
544
|
},
|
|
423
545
|
{
|
|
546
|
+
"message": "Authenticated successfully",
|
|
424
547
|
"type": "alert",
|
|
425
|
-
"variant": "success"
|
|
426
|
-
"message": "Authenticated successfully"
|
|
548
|
+
"variant": "success"
|
|
427
549
|
},
|
|
428
550
|
{
|
|
429
|
-
"type": "stack",
|
|
430
|
-
"direction": "horizontal",
|
|
431
|
-
"gap": "sm",
|
|
432
551
|
"justify": "center",
|
|
433
552
|
"children": [
|
|
434
553
|
{
|
|
554
|
+
"event": "REFRESH",
|
|
435
555
|
"type": "button",
|
|
436
556
|
"label": "Refresh Token",
|
|
437
|
-
"
|
|
438
|
-
"variant": "outline"
|
|
439
|
-
"icon": "refresh-cw"
|
|
557
|
+
"icon": "refresh-cw",
|
|
558
|
+
"variant": "outline"
|
|
440
559
|
},
|
|
441
560
|
{
|
|
442
|
-
"type": "button",
|
|
443
|
-
"label": "Logout",
|
|
444
561
|
"event": "LOGOUT",
|
|
562
|
+
"label": "Logout",
|
|
563
|
+
"type": "button",
|
|
445
564
|
"variant": "ghost",
|
|
446
565
|
"icon": "log-out"
|
|
447
566
|
}
|
|
448
|
-
]
|
|
567
|
+
],
|
|
568
|
+
"type": "stack",
|
|
569
|
+
"direction": "horizontal",
|
|
570
|
+
"gap": "sm"
|
|
449
571
|
}
|
|
450
572
|
]
|
|
451
573
|
}
|
|
@@ -461,9 +583,9 @@
|
|
|
461
583
|
"render-ui",
|
|
462
584
|
"main",
|
|
463
585
|
{
|
|
464
|
-
"type": "loading-state",
|
|
465
586
|
"title": "Refreshing token...",
|
|
466
|
-
"message": "Obtaining a new access token."
|
|
587
|
+
"message": "Obtaining a new access token.",
|
|
588
|
+
"type": "loading-state"
|
|
467
589
|
}
|
|
468
590
|
],
|
|
469
591
|
[
|
|
@@ -476,62 +598,6 @@
|
|
|
476
598
|
]
|
|
477
599
|
]
|
|
478
600
|
},
|
|
479
|
-
{
|
|
480
|
-
"from": "refreshing",
|
|
481
|
-
"to": "authenticated",
|
|
482
|
-
"event": "TOKEN_REFRESHED",
|
|
483
|
-
"effects": [
|
|
484
|
-
[
|
|
485
|
-
"set",
|
|
486
|
-
"@entity.accessToken",
|
|
487
|
-
"@payload.accessToken"
|
|
488
|
-
],
|
|
489
|
-
[
|
|
490
|
-
"render-ui",
|
|
491
|
-
"main",
|
|
492
|
-
{
|
|
493
|
-
"type": "stack",
|
|
494
|
-
"direction": "vertical",
|
|
495
|
-
"gap": "lg",
|
|
496
|
-
"align": "center",
|
|
497
|
-
"children": [
|
|
498
|
-
{
|
|
499
|
-
"type": "icon",
|
|
500
|
-
"name": "check-circle",
|
|
501
|
-
"size": "lg"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"type": "alert",
|
|
505
|
-
"variant": "success",
|
|
506
|
-
"message": "Authenticated successfully"
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"type": "stack",
|
|
510
|
-
"direction": "horizontal",
|
|
511
|
-
"gap": "sm",
|
|
512
|
-
"justify": "center",
|
|
513
|
-
"children": [
|
|
514
|
-
{
|
|
515
|
-
"type": "button",
|
|
516
|
-
"label": "Refresh Token",
|
|
517
|
-
"event": "REFRESH",
|
|
518
|
-
"variant": "outline",
|
|
519
|
-
"icon": "refresh-cw"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"type": "button",
|
|
523
|
-
"label": "Logout",
|
|
524
|
-
"event": "LOGOUT",
|
|
525
|
-
"variant": "ghost",
|
|
526
|
-
"icon": "log-out"
|
|
527
|
-
}
|
|
528
|
-
]
|
|
529
|
-
}
|
|
530
|
-
]
|
|
531
|
-
}
|
|
532
|
-
]
|
|
533
|
-
]
|
|
534
|
-
},
|
|
535
601
|
{
|
|
536
602
|
"from": "authenticated",
|
|
537
603
|
"to": "unauthenticated",
|
|
@@ -546,15 +612,10 @@
|
|
|
546
612
|
"render-ui",
|
|
547
613
|
"main",
|
|
548
614
|
{
|
|
549
|
-
"type": "stack",
|
|
550
|
-
"direction": "vertical",
|
|
551
|
-
"gap": "lg",
|
|
552
|
-
"align": "center",
|
|
553
615
|
"children": [
|
|
554
616
|
{
|
|
555
|
-
"type": "stack",
|
|
556
|
-
"direction": "horizontal",
|
|
557
617
|
"gap": "md",
|
|
618
|
+
"direction": "horizontal",
|
|
558
619
|
"align": "center",
|
|
559
620
|
"children": [
|
|
560
621
|
{
|
|
@@ -563,78 +624,102 @@
|
|
|
563
624
|
"size": "lg"
|
|
564
625
|
},
|
|
565
626
|
{
|
|
566
|
-
"
|
|
627
|
+
"variant": "h2",
|
|
567
628
|
"content": "Sign In",
|
|
568
|
-
"
|
|
629
|
+
"type": "typography"
|
|
569
630
|
}
|
|
570
|
-
]
|
|
631
|
+
],
|
|
632
|
+
"type": "stack"
|
|
571
633
|
},
|
|
572
634
|
{
|
|
573
635
|
"type": "divider"
|
|
574
636
|
},
|
|
575
637
|
{
|
|
638
|
+
"bind": "@entity.provider",
|
|
576
639
|
"type": "select",
|
|
577
|
-
"label": "Provider",
|
|
578
640
|
"field": "provider",
|
|
579
|
-
"bind": "@entity.provider",
|
|
580
641
|
"options": [
|
|
581
642
|
{
|
|
582
|
-
"
|
|
583
|
-
"
|
|
643
|
+
"value": "google",
|
|
644
|
+
"label": "Google"
|
|
584
645
|
},
|
|
585
646
|
{
|
|
586
647
|
"label": "GitHub",
|
|
587
648
|
"value": "github"
|
|
588
649
|
},
|
|
589
650
|
{
|
|
590
|
-
"
|
|
591
|
-
"
|
|
651
|
+
"value": "microsoft",
|
|
652
|
+
"label": "Microsoft"
|
|
592
653
|
}
|
|
593
|
-
]
|
|
654
|
+
],
|
|
655
|
+
"label": "Provider"
|
|
594
656
|
},
|
|
595
657
|
{
|
|
596
|
-
"
|
|
658
|
+
"icon": "log-in",
|
|
597
659
|
"label": "Login",
|
|
598
660
|
"event": "LOGIN",
|
|
599
661
|
"variant": "primary",
|
|
600
|
-
"
|
|
662
|
+
"type": "button"
|
|
601
663
|
}
|
|
602
|
-
]
|
|
664
|
+
],
|
|
665
|
+
"align": "center",
|
|
666
|
+
"type": "stack",
|
|
667
|
+
"gap": "lg",
|
|
668
|
+
"direction": "vertical"
|
|
603
669
|
}
|
|
604
670
|
]
|
|
605
671
|
]
|
|
606
672
|
},
|
|
607
673
|
{
|
|
608
|
-
"from": "
|
|
609
|
-
"to": "
|
|
610
|
-
"event": "
|
|
674
|
+
"from": "refreshing",
|
|
675
|
+
"to": "authenticated",
|
|
676
|
+
"event": "TOKEN_REFRESHED",
|
|
611
677
|
"effects": [
|
|
612
678
|
[
|
|
613
679
|
"set",
|
|
614
|
-
"@entity.
|
|
615
|
-
"@payload.
|
|
680
|
+
"@entity.accessToken",
|
|
681
|
+
"@payload.accessToken"
|
|
616
682
|
],
|
|
617
683
|
[
|
|
618
684
|
"render-ui",
|
|
619
685
|
"main",
|
|
620
686
|
{
|
|
621
|
-
"type": "stack",
|
|
622
687
|
"direction": "vertical",
|
|
623
|
-
"
|
|
688
|
+
"type": "stack",
|
|
624
689
|
"align": "center",
|
|
690
|
+
"gap": "lg",
|
|
625
691
|
"children": [
|
|
626
692
|
{
|
|
627
|
-
"type": "
|
|
628
|
-
"
|
|
629
|
-
"
|
|
630
|
-
"onRetry": "RETRY"
|
|
693
|
+
"type": "icon",
|
|
694
|
+
"name": "check-circle",
|
|
695
|
+
"size": "lg"
|
|
631
696
|
},
|
|
632
697
|
{
|
|
633
|
-
"
|
|
634
|
-
"
|
|
635
|
-
"
|
|
636
|
-
|
|
637
|
-
|
|
698
|
+
"variant": "success",
|
|
699
|
+
"message": "Authenticated successfully",
|
|
700
|
+
"type": "alert"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"children": [
|
|
704
|
+
{
|
|
705
|
+
"event": "REFRESH",
|
|
706
|
+
"icon": "refresh-cw",
|
|
707
|
+
"label": "Refresh Token",
|
|
708
|
+
"variant": "outline",
|
|
709
|
+
"type": "button"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"variant": "ghost",
|
|
713
|
+
"label": "Logout",
|
|
714
|
+
"icon": "log-out",
|
|
715
|
+
"event": "LOGOUT",
|
|
716
|
+
"type": "button"
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
"direction": "horizontal",
|
|
720
|
+
"gap": "sm",
|
|
721
|
+
"type": "stack",
|
|
722
|
+
"justify": "center"
|
|
638
723
|
}
|
|
639
724
|
]
|
|
640
725
|
}
|
|
@@ -655,25 +740,25 @@
|
|
|
655
740
|
"render-ui",
|
|
656
741
|
"main",
|
|
657
742
|
{
|
|
658
|
-
"type": "stack",
|
|
659
|
-
"direction": "vertical",
|
|
660
743
|
"gap": "lg",
|
|
661
|
-
"
|
|
744
|
+
"type": "stack",
|
|
662
745
|
"children": [
|
|
663
746
|
{
|
|
664
|
-
"type": "error-state",
|
|
665
747
|
"title": "Authentication Failed",
|
|
666
|
-
"
|
|
667
|
-
"onRetry": "RETRY"
|
|
748
|
+
"type": "error-state",
|
|
749
|
+
"onRetry": "RETRY",
|
|
750
|
+
"message": "@entity.error"
|
|
668
751
|
},
|
|
669
752
|
{
|
|
670
753
|
"type": "button",
|
|
671
|
-
"label": "Try Again",
|
|
672
754
|
"event": "RETRY",
|
|
673
755
|
"variant": "primary",
|
|
674
|
-
"icon": "rotate-ccw"
|
|
756
|
+
"icon": "rotate-ccw",
|
|
757
|
+
"label": "Try Again"
|
|
675
758
|
}
|
|
676
|
-
]
|
|
759
|
+
],
|
|
760
|
+
"direction": "vertical",
|
|
761
|
+
"align": "center"
|
|
677
762
|
}
|
|
678
763
|
]
|
|
679
764
|
]
|
|
@@ -688,65 +773,66 @@
|
|
|
688
773
|
"main",
|
|
689
774
|
{
|
|
690
775
|
"type": "stack",
|
|
691
|
-
"direction": "vertical",
|
|
692
776
|
"gap": "lg",
|
|
693
|
-
"align": "center",
|
|
694
777
|
"children": [
|
|
695
778
|
{
|
|
696
|
-
"type": "stack",
|
|
697
|
-
"direction": "horizontal",
|
|
698
|
-
"gap": "md",
|
|
699
|
-
"align": "center",
|
|
700
779
|
"children": [
|
|
701
780
|
{
|
|
702
781
|
"type": "icon",
|
|
703
|
-
"
|
|
704
|
-
"
|
|
782
|
+
"size": "lg",
|
|
783
|
+
"name": "lock"
|
|
705
784
|
},
|
|
706
785
|
{
|
|
707
786
|
"type": "typography",
|
|
708
|
-
"
|
|
709
|
-
"
|
|
787
|
+
"variant": "h2",
|
|
788
|
+
"content": "Sign In"
|
|
710
789
|
}
|
|
711
|
-
]
|
|
790
|
+
],
|
|
791
|
+
"gap": "md",
|
|
792
|
+
"direction": "horizontal",
|
|
793
|
+
"type": "stack",
|
|
794
|
+
"align": "center"
|
|
712
795
|
},
|
|
713
796
|
{
|
|
714
797
|
"type": "divider"
|
|
715
798
|
},
|
|
716
799
|
{
|
|
717
|
-
"type": "select",
|
|
718
|
-
"label": "Provider",
|
|
719
|
-
"field": "provider",
|
|
720
|
-
"bind": "@entity.provider",
|
|
721
800
|
"options": [
|
|
722
801
|
{
|
|
723
|
-
"
|
|
724
|
-
"
|
|
802
|
+
"value": "google",
|
|
803
|
+
"label": "Google"
|
|
725
804
|
},
|
|
726
805
|
{
|
|
727
806
|
"label": "GitHub",
|
|
728
807
|
"value": "github"
|
|
729
808
|
},
|
|
730
809
|
{
|
|
731
|
-
"
|
|
732
|
-
"
|
|
810
|
+
"value": "microsoft",
|
|
811
|
+
"label": "Microsoft"
|
|
733
812
|
}
|
|
734
|
-
]
|
|
813
|
+
],
|
|
814
|
+
"type": "select",
|
|
815
|
+
"bind": "@entity.provider",
|
|
816
|
+
"label": "Provider",
|
|
817
|
+
"field": "provider"
|
|
735
818
|
},
|
|
736
819
|
{
|
|
737
|
-
"type": "button",
|
|
738
|
-
"label": "Login",
|
|
739
820
|
"event": "LOGIN",
|
|
821
|
+
"label": "Login",
|
|
740
822
|
"variant": "primary",
|
|
741
|
-
"icon": "log-in"
|
|
823
|
+
"icon": "log-in",
|
|
824
|
+
"type": "button"
|
|
742
825
|
}
|
|
743
|
-
]
|
|
826
|
+
],
|
|
827
|
+
"direction": "vertical",
|
|
828
|
+
"align": "center"
|
|
744
829
|
}
|
|
745
830
|
]
|
|
746
831
|
]
|
|
747
832
|
}
|
|
748
833
|
]
|
|
749
|
-
}
|
|
834
|
+
},
|
|
835
|
+
"scope": "instance"
|
|
750
836
|
}
|
|
751
837
|
],
|
|
752
838
|
"pages": [
|
|
@@ -762,4 +848,4 @@
|
|
|
762
848
|
]
|
|
763
849
|
}
|
|
764
850
|
]
|
|
765
|
-
}
|
|
851
|
+
}
|