authorize method
Authorizes the current Authenticator instance using the code returned from Reddit after the user has authenticated.
code
is the value passed as a query parameter to redirect
. This value
must be parsed from the request made to redirect
before being passed to
this method.
Implementation
@override
Future<void> authorize(String code) async {
_client = await _grant.handleAuthorizationCode(code);
}