KeycloakApi constructor

KeycloakApi(
  1. String identifier,
  2. String clientId,
  3. String clientSecret,
  4. String redirectUrl,
  5. String baseUrl,
  6. String realm, {
  7. List<String> scopes = const ["email", "profile"],
  8. Client? client,
  9. Converter? converter,
  10. AuthStorage? authStorage,
})

Implementation

KeycloakApi(String identifier,
    String clientId,
    String clientSecret,
    String redirectUrl,
    String baseUrl,
    String realm,
    {
      List<String> scopes = const ["email", "profile"],
      http.Client? client,
      Converter? converter,
      AuthStorage? authStorage
    }) : super(
    identifier,
    clientId,
    clientSecret,
    "$baseUrl/auth/realms/$realm/protocol/openid-connect/token",
    "$baseUrl/auth/realms/$realm/protocol/openid-connect/auth",
    redirectUrl,
    client: client,
    scopes: scopes,
    converter: converter,
    authStorage: authStorage) {
  this.baseUrl = baseUrl;
  this.realm = realm;
}