diff --git a/Owin.Security.Providers/Owin.Security.Providers.csproj b/Owin.Security.Providers/Owin.Security.Providers.csproj
index e952a9f..a6595bc 100644
--- a/Owin.Security.Providers/Owin.Security.Providers.csproj
+++ b/Owin.Security.Providers/Owin.Security.Providers.csproj
@@ -287,6 +287,15 @@
+
+
+
+
+
+
+
+
+
diff --git a/Owin.Security.Providers/Untappd/Constants.cs b/Owin.Security.Providers/Untappd/Constants.cs
new file mode 100644
index 0000000..fef3041
--- /dev/null
+++ b/Owin.Security.Providers/Untappd/Constants.cs
@@ -0,0 +1,7 @@
+namespace Owin.Security.Providers.Untappd
+{
+ internal static class Constants
+ {
+ public const string DefaultAuthenticationType = "Untappd";
+ }
+}
\ No newline at end of file
diff --git a/Owin.Security.Providers/Untappd/Provider/IUntappdAuthenticationProvider.cs b/Owin.Security.Providers/Untappd/Provider/IUntappdAuthenticationProvider.cs
new file mode 100644
index 0000000..f3aab47
--- /dev/null
+++ b/Owin.Security.Providers/Untappd/Provider/IUntappdAuthenticationProvider.cs
@@ -0,0 +1,24 @@
+using System.Threading.Tasks;
+
+namespace Owin.Security.Providers.Untappd
+{
+ ///
+ /// Specifies callback methods which the invokes to enable developer control over the authentication process. />
+ ///
+ public interface IUntappdAuthenticationProvider
+ {
+ ///
+ /// Invoked whenever Untappd succesfully authenticates a user
+ ///
+ /// Contains information about the login session as well as the user .
+ /// A representing the completed operation.
+ Task Authenticated(UntappdAuthenticatedContext context);
+
+ ///
+ /// Invoked prior to the being saved in a local cookie and the browser being redirected to the originally requested URL.
+ ///
+ ///
+ /// A representing the completed operation.
+ Task ReturnEndpoint(UntappdReturnEndpointContext context);
+ }
+}
\ No newline at end of file
diff --git a/Owin.Security.Providers/Untappd/Provider/UntappdAuthenticatedContext.cs b/Owin.Security.Providers/Untappd/Provider/UntappdAuthenticatedContext.cs
new file mode 100644
index 0000000..b7fb0c8
--- /dev/null
+++ b/Owin.Security.Providers/Untappd/Provider/UntappdAuthenticatedContext.cs
@@ -0,0 +1,89 @@
+// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
+
+using System;
+using System.Globalization;
+using System.Security.Claims;
+using Microsoft.Owin;
+using Microsoft.Owin.Security;
+using Microsoft.Owin.Security.Provider;
+using Newtonsoft.Json.Linq;
+
+namespace Owin.Security.Providers.Untappd
+{
+ ///
+ /// Contains information about the login session as well as the user .
+ ///
+ public class UntappdAuthenticatedContext : BaseContext
+ {
+ ///
+ /// Initializes a
+ ///
+ /// The OWIN environment
+ /// The JSON-serialized user
+ /// Untappd Access token
+ public UntappdAuthenticatedContext(IOwinContext context, JObject user, string accessToken)
+ : base(context)
+ {
+ User = user;
+ AccessToken = accessToken;
+
+ Id = TryGetValue(user, "_id");
+ Name = TryGetValue(user, "first_name") +" "+ TryGetValue(user, "last_name");
+ Link = TryGetValue(user, "url");
+ UserName = TryGetValue(user, "user_name");
+ Email = TryGetValue(user, "email_address");
+ }
+
+ ///
+ /// Gets the JSON-serialized user
+ ///
+ ///
+ /// Contains the Untappd user obtained from the User Info endpoint. By default this is https://api.Untappd.com/user but it can be
+ /// overridden in the options
+ ///
+ public JObject User { get; private set; }
+
+ ///
+ /// Gets the Untappd access token
+ ///
+ public string AccessToken { get; private set; }
+
+ ///
+ /// Gets the Untappd user ID
+ ///
+ public string Id { get; private set; }
+
+ ///
+ /// Gets the user's name
+ ///
+ public string Name { get; private set; }
+
+ public string Link { get; private set; }
+
+ ///
+ /// Gets the Untappd username
+ ///
+ public string UserName { get; private set; }
+
+ ///
+ /// Gets the Untappd email
+ ///
+ public string Email { get; private set; }
+
+ ///
+ /// Gets the representing the user
+ ///
+ public ClaimsIdentity Identity { get; set; }
+
+ ///
+ /// Gets or sets a property bag for common authentication properties
+ ///
+ public AuthenticationProperties Properties { get; set; }
+
+ private static string TryGetValue(JObject user, string propertyName)
+ {
+ JToken value;
+ return user.TryGetValue(propertyName, out value) ? value.ToString() : null;
+ }
+ }
+}
diff --git a/Owin.Security.Providers/Untappd/Provider/UntappdAuthenticationProvider.cs b/Owin.Security.Providers/Untappd/Provider/UntappdAuthenticationProvider.cs
new file mode 100644
index 0000000..a290334
--- /dev/null
+++ b/Owin.Security.Providers/Untappd/Provider/UntappdAuthenticationProvider.cs
@@ -0,0 +1,50 @@
+using System;
+using System.Threading.Tasks;
+
+namespace Owin.Security.Providers.Untappd
+{
+ ///
+ /// Default implementation.
+ ///
+ public class UntappdAuthenticationProvider : IUntappdAuthenticationProvider
+ {
+ ///
+ /// Initializes a
+ ///
+ public UntappdAuthenticationProvider()
+ {
+ OnAuthenticated = context => Task.FromResult