{{error_result}} Login-Complete
Login-Complete

{{error_result}} Login-Complete
Login-Complete

{{error_result}} Login-Complete
Login-Complete


          
Duplica-User ID ใช้ครั้งเดียว
{{slip_formattedToken}}
  
              
              login_(){
                            const config = {
                                headers: {
                                  'Content-Type': 'application/json'
                                }
                            }
                            
                            let requestBody = {
                              user : this.ad_user,
                              pass : this.ad_pass
                            }

                            const json = JSON.stringify(requestBody)                       
                            let end_point = "https://otp.rtaf.mi.th/api/v2/mfa/login"
                            
                            axios.post( end_point, json, config )
                            .then(response => { 
                              
                                if( response.data.result  == "Process-Complete" ){
                                  localStorage.setItem( '$test-token', response.data.token );
                                 
                                }

                             })
              }
                      
            
2FA-Login, Login & Token Verify API