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