HttpAuthCallback constructor
HttpAuthCallback({
- required String authEndpoint,
- Client? client,
- HeaderProvider? headerProvider,
Implementation
HttpAuthCallback({
required this.authEndpoint,
http.Client? client,
this.headerProvider,
}) : _endpoint = requireSecureEndpoint(authEndpoint, const {'https'}),
_client = client ?? http.Client();