fetchAndPersistPublicKey method
Implementation
Future<JWK?> fetchAndPersistPublicKey() async {
try {
final key = await fetchPublicKey();
if (key == null) return null;
await persistPublicKey(key);
return key;
} catch (e) {
_core.logger.e('[$runtimeType] fetch and persist public key error, $e');
}
return null;
}