KeycloakLoginOptions class Null safety

  • @anonymous
  • @JS()


KeycloakLoginOptions({String scope, String redirectUri, String prompt, String action, num maxAge, String loginHint, Acr acr, String idpHint, String locale, dynamic cordovaOptions})


acr ↔ Acr
Sets the acr claim of the ID token sent inside the claims parameter. See section 5.5.1 of the OIDC 1.0 specification.
read / write
action String
If value is 'register' then user is redirected to registration page, otherwise to login page.
read / write
cordovaOptions ↔ dynamic
Specifies arguments that are passed to the Cordova in-app-browser (if applicable). Options 'hidden' and 'location' are not affected by these arguments. All available options are defined at Example of use: { zoom: "no", hardwareback: "yes" }
read / write
hashCode int
The hash code for this object.
idpHint String
Used to tell Keycloak which IDP the user wants to authenticate with.
read / write
locale String
Sets the 'ui_locales' query param in compliance with section of the OIDC 1.0 specification.
read / write
loginHint String
Used to pre-fill the username/email field on the login form.
read / write
maxAge num
Used just if user is already authenticated. Specifies maximum time since the authentication of user happened. If user is already authenticated for longer time than 'maxAge', the SSO is ignored and he will need to authenticate again.
read / write
prompt String
By default the login screen is displayed if the user is not logged into Keycloak. To only authenticate to the application if the user is already logged in and not display the login page if the user is not logged in, set this option to 'none'. To always require re-authentication and ignore SSO, set this option to 'login'.
read / write
redirectUri String
Specifies the uri to redirect to after login.
read / write
runtimeType Type
A representation of the runtime type of the object.
scope String
Specifies the scope parameter for the login url The scope 'openid' will be added to the scope if it is missing or undefined.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.