AW.Webapi.Sample.Providers.ApplicationOAuthProvider.CreateProperties C# (CSharp) Méthode

CreateProperties() public static méthode

public static CreateProperties ( string userName ) : Microsoft.Owin.Security.AuthenticationProperties
userName string
Résultat Microsoft.Owin.Security.AuthenticationProperties
        public static AuthenticationProperties CreateProperties(string userName)
        {
            IDictionary<string, string> data = new Dictionary<string, string>
            {
                { "userName", userName }
            };
            return new AuthenticationProperties(data);
        }
    }