code | type | title | description |
---|---|---|---|
true |
page |
CreateMyCredentials |
Create the current user's credentials for the specified strategy. |
Creates the current user's credentials for the specified strategy.
:::: tabs ::: tab Java
public CompletableFuture<Map<String, Object>> createMyCredentials(final String strategy,
final Map<String, Object> credentials)
throws NotConnectedException, InternalException
Argument | Type | Description |
---|---|---|
strategy |
String |
Strategy to use |
credentials |
Map<String, Object> |
Map representing the credentials |
A Map representing the new credentials.
<<< ./snippets/create-my-credentials-java.java
::: ::: tab Kotlin
fun createMyCredentials(
strategy: String,
credentials: Map<String, Any>): CompletableFuture<Map<String, Any?>>
Argument | Type | Description |
---|---|---|
strategy |
String |
Strategy to use |
credentials |
Map<String, Any?> |
Map representing the credentials |
A Map representing the new credentials.
<<< ./snippets/create-my-credentials-kotlin.kt
::: ::::