JWTAuthentication constructor

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

Create JWTAuthentication with subscription id and getJWT function.

Implementation

JWTAuthentication({required this.subscriptionId, required this.getJWT})
    : super(AiutaAuthenticationMode.jwt);