AiutaJwtAuth constructor

AiutaJwtAuth({
  1. required String subscriptionId,
  2. required Future<String> getJwt(
    1. Map<String, dynamic>
    ),
})

Creates an AiutaJwtAuth with your subscriptionId and getJwt callback to get JWT for sensitive requests in order to access Aiuta API.

Implementation

AiutaJwtAuth({required this.subscriptionId, required this.getJwt})
    : super(AiutaAuthMode.jwt);