getCode method
Method for obtaining a new user auth code. First step of token creation.
Implementation
@override
Future<AuthCodeMap> getCode() async {
final codeResponse = await _sendRequest(OAUTH_CODE_URL, {
'scope': OAUTH_SCOPE,
});
return AuthCodeMap.fromJson(codeResponse);
}