authorizeApplication method

Future<void> authorizeApplication({
  1. bool? signup,
})

Construct then redirect to this URL.

The Trakt website will request permissions for your app, which the user needs to approve. If the user isn't signed into Trakt, it will ask them to do so. Send signup=true if you prefer the account sign up page to be the default.

Implementation

Future<void> authorizeApplication({bool? signup}) async {
  final url = Uri.parse(_manager._oauthURL);
  await ChromeSafariBrowser().open(url: url);
}