getAccountFromAuthCode method
Implementation
@override
Future<OAuthAccount> getAccountFromAuthCode(
WebAuthenticator authenticator) async {
var auth = authenticator as DropboxAuthenticator;
return OAuthAccount(identifier,
created: DateTime.now().toUtc(),
expiresIn: -1,
scope: authenticator.scope,
refreshToken: auth.token,
tokenType: auth.tokenType,
token: auth.token);
}