registerByUserName static method
Future<AuthResult>
registerByUserName(
- String username,
- String password, {
- AuthRequest? authRequest,
OIDC register a new user by username and a password.
Implementation
static Future<AuthResult> registerByUserName(String username, String password,
{AuthRequest? authRequest}) async {
AuthRequest authData = await OIDCClient.prepareLogin();
return AuthClient.registerByUserName(username, password,
authData: authData);
}