AuthService constructor
AuthService({})
Implementation
AuthService({
required this.clientId,
required this.redirectUri,
required this.scopes,
http.Client? httpClient,
this.onGetDeviceCode,
}) {
_microsoftAuthService = MicrosoftAuthService(
clientId: clientId,
redirectUri: redirectUri,
httpClient: httpClient,
);
_xboxAuthService = XboxAuthService(httpClient: httpClient);
_minecraftAuthService = MinecraftAuthService(
clientId: clientId,
httpClient: httpClient,
);
}