Here you may find all required information about Twitter API 1.1 authentication. oAuth, tokens and keys here.