INNER CODE UNIT · TypeScript
confirmingSignUpState
aws-devtools-labs/aws-blocks · packages/bb-auth-basic/src/index.ts:533
function confirmingSignUpState(): AuthState {
return {
state: 'confirmingSignUp',
actions: [
{
name: 'confirmSignUp',
label: 'Confirm Account',
fields: [
{ name: 'username', label: 'Username', type: 'text', required: true },
{ name: 'code', label: 'Verification Code', type: 'text', required: true },
{ name: 'password', label: 'Password', type: 'password', required: true },
],
},
],
};
}
function confirmingPasswordResetState(): AuthState {