getAuthUrl method
Implementation
Uri getAuthUrl() {
return Uri.parse('http://openapi.baidu.com/oauth/2.0/authorize').replace(
queryParameters: {
'response_type': 'code',
'client_id': clientId,
'redirect_uri': 'oob',
'scope': 'basic,netdisk',
},
);
}