IdpProvider.twitter constructor

const IdpProvider.twitter({
  1. required String accessToken,
  2. required String oauthTokenSecret,
})

Create an IDP-Instance for twitter.com.

Requires you to perform a Twitter-OAuth flow to obtain an accessToken. Together with an oauthTokenSecret you can then create a facebook provider with that data.

Implementation

const factory IdpProvider.twitter({
  required String accessToken,
  required String oauthTokenSecret,
}) = _TwitterIdpProvider;