docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UsernamePasswordRequest

    Request for signing up or signing in a Username Password account.

    Inheritance
    object
    UsernamePasswordRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.PlayerAuthentication
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class UsernamePasswordRequest

    Constructors

    UsernamePasswordRequest(string, string)

    Initializes a new instance of the UsernamePasswordRequest class.

    Declaration
    [Preserve]
    public UsernamePasswordRequest(string username = null, string password = null)
    Parameters
    Type Name Description
    string username

    The username. Case insensitive. Length must be between 3-20 with the allowed characters a-z, 0-9 and the symbols [.][-][@][_]. (required).

    string password

    The password. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol. (required).

    Properties

    Password

    The password. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol.

    Declaration
    [Preserve]
    public string Password { get; set; }
    Property Value
    Type Description
    string

    The password. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol.

    Username

    The username. Case insensitive. Length must be between 3-20 with the allowed characters a-z, 0-9 and the symbols [.][-][@][_].

    Declaration
    [Preserve]
    public string Username { get; set; }
    Property Value
    Type Description
    string

    The username. Case insensitive. Length must be between 3-20 with the allowed characters a-z, 0-9 and the symbols [.][-][@][_].

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)