Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new user (only valid for database connections).
 /// </summary>
 /// <param name="identifier">The user's identifier.</param>
 /// <param name="password">The password for the new user.</param>
 /// <param name="connection">The name of the database connection to store the user.</param>
 /// <param name="emailVerified">True if the emails is already verified, false if a verification message is required.</param>
 /// <param name="metadata">Additional metadata to include in the user's profile.</param>
 /// <returns>The profile of the user created.</returns>
 public UserProfile CreateUser(UserIdentifier identifier, string password, string connection, bool emailVerified, IDictionary <string, object> metadata)
 {
     return(this.CreateUser(identifier, password, connection, emailVerified, (object)metadata));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new user (only valid for database connections).
 /// </summary>
 /// <param name="identifier">The user's identifier.</param>
 /// <param name="password">The password for the new user.</param>
 /// <param name="connection">The name of the database connection to store the user.</param>
 /// <param name="emailVerified">True if the emails is already verified, false if a verification message is required.</param>
 /// <returns>The profile of the user created.</returns>
 public UserProfile CreateUser(UserIdentifier identifier, string password, string connection, bool emailVerified)
 {
     return(this.CreateUser(identifier, password, connection, emailVerified, null));
 }