code | type | title | description |
---|---|---|---|
true |
page |
updateMyCredentials |
Updates the current user's credentials for the specified strategy. |
Updates the current user's credentials for the specified strategy. The credentials to send will depend on the authentication plugin and the authentication strategy.
Future<Map<String, dynamic>> updateMyCredentials(
String strategy, Map<String, dynamic> credentials)
Argument | Type | Description |
---|---|---|
strategy |
String |
Strategy to use |
credentials |
Map<String, dynamic> |
Map representing the credentials |
A Map representing the updated credentials with the following properties:
Property | Type | Description |
---|---|---|
username |
String |
The Username |
kuid |
String |
The user's kuid |
<<< ./snippets/update-my-credentials.dart