title: Is it possible to user native pin code/ pattern to login a remote system?
body: <p>I am designing an android app where I can login in multiple ways: <em>password, pin code, pattern, fingerprint..</em></p>
  
  <p>While password login implementation is easy, the server will check against the password, authenticate the user and manage the login session.</p>
  
  <blockquote>
    <p>when come to pin code login, it seems complicated.As far as I know, pin code is some kind of <strong>"native authentication"</strong>, the "checking process" happens within the device, or the android system. <strong>How can the app login to the server if the app dosen't sent any credential to server even the "native authentication" succeed?</strong></p>
  </blockquote>
  
  <ul>
  <li><p>Obviously, I don't want a solution that map a pincode/pattern to some "password" in the server, because that's no different from password login.</p></li>
  <li><p>Another solution is storing some credentials(token,password,cert) on device,and forward to server after "native authentication".But I think this is unsafe.</p></li>
  </ul>
  
  <p>so, how can the app connect these "native authentication"(pin code, pattern, fingerpring) with the remote server, in order to be trusted by the server?</p>
  
  <p>Thanks.</p>
  
  <hr>
  
  <p>supplement: as for the fingerprint login, I refer to the FIDO UAF.This solution deals with my problem:after a "native authentication", the fido client will send back some "assertion data" to server, and the server can verify the fido client against these data, and accept the assertion. </p>