hello method
This method is called by the session to modify the hello details
for
a given realm
. Cryptosign will add a 'pubkey' and a 'channel_binding'
to the authextra
Implementation
@override
Future<void> hello(String? realm, Details details) {
details.authextra ??= <String, String?>{};
details.authextra!['pubkey'] =
privateKey.publicKey.encode(Base16Encoder.instance);
details.authextra!['channel_binding'] = channelBinding;
return Future.value();
}