authorize method
Authorizes the Client
Implementation
Future<Credential?> authorize() async {
final credential = await _authenticator.credential;
if (credential == null) {
_authenticator.authorize();
return _authenticator.flow.callback({'code': 'some code'});
} else {
return credential;
}
}