RedditOauth2Client constructor

RedditOauth2Client({
  1. required String redirectUri,
  2. required String customUriScheme,
})

Implementation

RedditOauth2Client(
    {required String redirectUri, required String customUriScheme})
    : super(
        authorizeUrl: 'https://www.reddit.com/api/v1/authorize.compact',
        //Your service's authorization url
        tokenUrl: 'https://www.reddit.com/api/v1/access_token',
        //Your service access token url
        redirectUri: redirectUri,
        customUriScheme: customUriScheme,
        scopeSeparator: ',',
        credentialsLocation: CredentialsLocation.header,
      );