Beispiel #1
0
        public static Task <AuthenticationResult> GetToken(this IRestaurantApi This, string email, string password)
        {
            var dict = new Dictionary <string, string>
            {
                { "grant_type", "password" },
                { "username", email },
                { "password", password }
            };

            return(This.GetTokenRaw(dict));
        }