KeycloakConfig class

Your Keycloak client configuration class.

Holds essential details required for integrating with a Keycloak server.

Constructors

KeycloakConfig({required String bundleIdentifier, required String clientId, required String frontendUrl, required String realm, List<String>? additionalScopes, String? clientSecret, bool? allowInsecureConnections})

Properties

additionalScopes → List<String>?
The optional scope values that are used to request claims.
final
allowInsecureConnections → bool
Whether non-HTTPS endpoints are allowed or not.
no setter
bundleIdentifier → String
The application unique identifier.
final
clientId → String
The alphanumeric ID string that is used in OIDC requests and in the Keycloak database to identify the client.
final
clientSecret → String?
The client's password to prove its identity to the Keycloak server.
final
frontendUrl → String
The fixed base URL for frontend requests.
final
hashCode → int
The hash code for this object.
no setterinherited
issuer → String
The base URI for the authorization server.
no setter
realm → String
The realm name.
final
redirectUri → String
The callback URI after the user has been successfully authorized and granted an access token.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopes → List<String>
The identifier for resources that the client wants to access.
no setter
userInfoEndpoint → String
The user information endpoint to retrieve user profile data using a valid access token.
no setter

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