KeycloakLoginOptions class abstract

Annotations
  • @anonymous
  • @JS()

Constructors

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

Properties

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.
getter/setter pair
action String
If value is 'register' then user is redirected to registration page, otherwise to login page.
getter/setter pair
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 https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/. Example of use: { zoom: "no", hardwareback: "yes" }
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idpHint String
Used to tell Keycloak which IDP the user wants to authenticate with.
getter/setter pair
locale String
Sets the 'ui_locales' query param in compliance with section 3.1.2.1 of the OIDC 1.0 specification.
getter/setter pair
loginHint String
Used to pre-fill the username/email field on the login form.
getter/setter pair
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.
getter/setter pair
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'.
getter/setter pair
redirectUri String
Specifies the uri to redirect to after login.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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.
getter/setter pair

Methods

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

Operators

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