Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.12 KB

File metadata and controls

35 lines (25 loc) · 1.12 KB
code type title description
true
page
updateMyCredentials
Updates the current user's credentials for the specified strategy.

UpdateMyCredentials

Updates the current user's credentials for the specified strategy. The credentials to send will depend on the authentication plugin and the authentication strategy.

Arguments

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

Return

A Map representing the updated credentials with the following properties:

Property Type Description
username
String
The Username
kuid
String
The user's kuid

Usage

<<< ./snippets/update-my-credentials.dart