LoginScope constructor
const
LoginScope({
- Key? key,
- required Uri serverUrl,
- required Uri callbackUrl,
- required String oauthClientId,
- required Widget builder(
- BuildContext context
- String scope = fullOAuthScope,
- void onAuthenticated(
- String returnUrl
- Widget signInBuilder(
- BuildContext context,
- bool isCancelled,
- void signIn(
- String? provider
- Map<
String, String> ? extraQueryParams, - OAuthSessionManager? session,
- Client? client,
- bool preferEphemeralAuthSession = false,
- FutureOr<
void> onSessionReady()?, - WidgetBuilder? loadingBuilder,
Implementation
const LoginScope({
super.key,
required this.serverUrl,
required this.callbackUrl,
required this.oauthClientId,
required this.builder,
this.scope = fullOAuthScope,
this.onAuthenticated,
this.signInBuilder,
this.extraQueryParams,
this.session,
this.client,
this.preferEphemeralAuthSession = false,
this.onSessionReady,
this.loadingBuilder,
});