RefreshRequest constructor
RefreshRequest({})
Implementation
RefreshRequest({
required String clientId,
String? clientSecret,
required Iterable<String> scopes,
required String refreshToken,
required OpenIdConfiguration configuration,
Map<String, String>? additionalParameters,
bool autoRefresh = true,
}) : super(
configuration: configuration,
clientId: clientId,
clientSecret: clientSecret,
grantType: "refresh_token",
scopes: scopes,
additionalParameters: {
"refresh_token": refreshToken,
...(additionalParameters ?? {})
});