title: How can we verify user by taking in explicit username and password input directly
body: <p>I was wondering, how can we possible verify user, by taking in explicit username and password input directly. As I look into <a href="http://developer.android.com/reference/android/accounts/AccountManager.html" rel="nofollow noreferrer">AccountManager</a>, I do not see any function which accepts direct username and password. (I guess this is due to security reason)</p>
  
  <p>The reason I'm asking so, as I wish to implement <strong>Forget pattern</strong> feature, on the top of this <a href="https://code.google.com/p/android-lockpattern/" rel="nofollow noreferrer">Pattern lock screen</a> library. Currently, the library doesn't provide such functionality.</p>
  
  <p><img src="https://i.stack.imgur.com/A0Es1.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/3q7rb.png" alt="enter image description here"></p>