signJWT method
Implementation
@override
Future<String> signJWT(aud) async {
_isInitialized();
final seed = await _getClientSeed();
final keyPair = await relay_auth.generateKeyPair(seed);
final sub = utils.generateRandomBytes32();
final ttl = CRYPTO_JWT_TTL;
final jwt = await relay_auth.signJWT(
sub: sub,
aud: aud,
ttl: ttl,
keyPair: keyPair,
);
return jwt;
}