consul/ui/packages/consul-ui/app/components/auth-form/tabs.xstate.js

26 lines
321 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export default {
id: 'auth-form-tabs',
initial: 'token',
on: {
TOKEN: [
{
target: 'token',
},
],
SSO: [
{
target: 'sso',
},
],
},
states: {
token: {},
sso: {},
},
};