Context hierarchy

LoginVerificationCtx context has a refRecord child which references to LoginVerificationRecord. Username, password, verification code are defined as data with several properties such as maximumLength and minimumLength , as shown as the following figure. Another data named message is used to record error message which will be promoted to users to indicate login errors.