SDK
SDK Jvm v1.x
2

GetStrategies #

Gets all authentication strategies registered in Kuzzle.

::: Kotlin

Arguments #

Copied to clipboard!
fun getStrategies(): CompletableFuture<ArrayList<String>>

Return #

An ArrayList representing the available authentication strategies.

Usage #

Copied to clipboard!
kuzzle.authController.login("local", HashMap<String, Any?>().apply {
  put("username", "foo")
  put("password", "bar")
}).get()
val result: ArrayList<String> =
  kuzzle.authController.getStrategies().get();

:::