According to the TwitterCore documentation :
The simplest way to authenticate a user is using TwitterLoginButton.
How do you authent
You'd probably want to call the regular Twitter OAuth mechanism through something like Twitter4J. If you use the TwitterLoginButton this is all wrapped up for you via functions in Twitter Kit.