Function async for get token can take from local data or static token
typedef GetToken = Future<String?> Function();