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

26 lines
320 B
JavaScript

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