AW.Webapi.Sample.Providers.ApplicationOAuthProvider.CreateProperties C# (CSharp) Method

CreateProperties() public static method

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