Example #1
0
        public static HttpRequestMessage CreatePostRequestMessage(this AuthenticationResult token, string url)
        {
            var msg = token.CreateGetRequestMessage(url);

            msg.Method = HttpMethod.Post;

            return(msg);
        }
Example #2
0
 public static HttpRequestMessage CreateGetRequestMessage(this AuthenticationResult token, Uri uri)
 {
     return(token.CreateGetRequestMessage(uri.ToString()));
 }