using System.Collections.Generic; namespace OAuth.AspNet.AuthServer { /// /// Data object used by TokenEndpointRequest when the "grant_type" is "password". /// public class TokenEndpointRequestResourceOwnerPasswordCredentials { /// /// The value passed to the Token endpoint in the "username" parameter /// public string UserName { get; set; } /// /// The value passed to the Token endpoint in the "password" parameter /// public string Password { get; set; } /// /// The value passed to the Token endpoint in the "scope" parameter /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification = "This is just a data class.")] public IList Scope { get; set; } } }