Skip to content

Commit

Permalink
update all samples to latest myget
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Jan 12, 2015
1 parent 578f1d3 commit 0b60fb8
Show file tree
Hide file tree
Showing 30 changed files with 82 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<Reference Include="System.Web" />
<Reference Include="Thinktecture.IdentityServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10199\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10217\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<package id="Microsoft.Owin.Hosting" version="3.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.7" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10199" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10217" targetFramework="net45" />
</packages>
2 changes: 1 addition & 1 deletion source/Custom Grants/SelfHost/SelfHost (Minimal).csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<Reference Include="System.Web" />
<Reference Include="Thinktecture.IdentityServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10199\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10217\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion source/Custom Grants/SelfHost/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
<package id="Microsoft.Owin.Hosting" version="3.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.7" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10199" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10217" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<Reference Include="System.EnterpriseServices" />
<Reference Include="Thinktecture.IdentityServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10184\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10217\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
</Reference>
<Reference Include="WebGrease, Version=1.6.5135.21930, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down
2 changes: 1 addition & 1 deletion source/CustomUserService/CustomUserService/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<package id="Modernizr" version="2.8.3" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.5" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10184" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10217" targetFramework="net45" />
<package id="WebGrease" version="1.6.0" targetFramework="net45" />
</packages>
20 changes: 12 additions & 8 deletions source/CustomViewService/CustomViewService/Config/Clients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public static List<Client> Get()
ClientName = "Code Flow Clients",
Enabled = true,
ClientId = "codeclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.AuthorizationCode,

RequireConsent = true,
Expand All @@ -30,20 +32,19 @@ public static List<Client> Get()
"https://localhost:44320/oidccallback",

// MVC code client manual
"https://localhost:44312/callback",
"https://localhost:44312/callback"
},

ScopeRestrictions = new List<string>
{
Constants.StandardScopes.OpenId,
Constants.StandardScopes.Profile,
Constants.StandardScopes.Email,
Constants.StandardScopes.OfflineAccess,
"read",
"write"
},


IdentityTokenSigningKeyType = SigningKeyTypes.Default,
//SubjectType = SubjectTypes.Global,
AccessTokenType = AccessTokenType.Reference,

Expand All @@ -57,7 +58,9 @@ public static List<Client> Get()
ClientName = "Implicit Clients",
Enabled = true,
ClientId = "implicitclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.Implicit,

ClientUri = "http://www.thinktecture.com",
Expand Down Expand Up @@ -90,7 +93,6 @@ public static List<Client> Get()
"write"
},

IdentityTokenSigningKeyType = SigningKeyTypes.Default,
//SubjectType = SubjectTypes.Global,
AccessTokenType = AccessTokenType.Jwt,

Expand All @@ -102,7 +104,6 @@ public static List<Client> Get()
ClientName = "Client Credentials Flow Client",
Enabled = true,
ClientId = "client",
ClientSecret = "secret",
Flow = Flows.ClientCredentials,

ScopeRestrictions = new List<string>
Expand All @@ -119,11 +120,14 @@ public static List<Client> Get()
ClientName = "Resource Owner Flow Client",
Enabled = true,
ClientId = "roclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.ResourceOwner,

ScopeRestrictions = new List<string>
{
Constants.StandardScopes.OfflineAccess,
"read",
"write"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<Reference Include="System.EnterpriseServices" />
<Reference Include="Thinktecture.IdentityServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10043\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10217\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion source/CustomViewService/CustomViewService/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
<package id="Microsoft.Owin.Security.Twitter" version="3.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.5" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10043" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10217" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<Reference Include="System.Web" />
<Reference Include="Thinktecture.IdentityServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10215\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10217\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion source/DependencyInjection/SelfHost/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<package id="Microsoft.Owin.Host.HttpListener" version="3.0.0" targetFramework="net45" />
<package id="Microsoft.Owin.Hosting" version="3.0.0" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10215" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10217" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ public static List<Client> Get()
ClientName = "Code Flow Clients",
Enabled = true,
ClientId = "codeclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.AuthorizationCode,

RequireConsent = true,
Expand All @@ -31,20 +33,19 @@ public static List<Client> Get()
"https://localhost:44320/oidccallback",

// MVC code client manual
"https://localhost:44312/callback",
"https://localhost:44312/callback"
},

ScopeRestrictions = new List<string>
{
Constants.StandardScopes.OpenId,
Constants.StandardScopes.Profile,
Constants.StandardScopes.Email,
Constants.StandardScopes.OfflineAccess,
"read",
"write"
},


IdentityTokenSigningKeyType = SigningKeyTypes.Default,
//SubjectType = SubjectTypes.Global,
AccessTokenType = AccessTokenType.Reference,

Expand All @@ -58,7 +59,9 @@ public static List<Client> Get()
ClientName = "Implicit Clients",
Enabled = true,
ClientId = "implicitclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.Implicit,

ClientUri = "http://www.thinktecture.com",
Expand Down Expand Up @@ -91,7 +94,6 @@ public static List<Client> Get()
"write"
},

IdentityTokenSigningKeyType = SigningKeyTypes.Default,
//SubjectType = SubjectTypes.Global,
AccessTokenType = AccessTokenType.Jwt,

Expand All @@ -103,7 +105,6 @@ public static List<Client> Get()
ClientName = "Client Credentials Flow Client",
Enabled = true,
ClientId = "client",
ClientSecret = "secret",
Flow = Flows.ClientCredentials,

ScopeRestrictions = new List<string>
Expand All @@ -120,11 +121,14 @@ public static List<Client> Get()
ClientName = "Resource Owner Flow Client",
Enabled = true,
ClientId = "roclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.ResourceOwner,

ScopeRestrictions = new List<string>
{
Constants.StandardScopes.OfflineAccess,
"read",
"write"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<Reference Include="System.EnterpriseServices" />
<Reference Include="Thinktecture.IdentityServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10043\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10217\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
<package id="Microsoft.Owin.Security.Twitter" version="3.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.5" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10043" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10217" targetFramework="net45" />
</packages>
18 changes: 10 additions & 8 deletions source/EntityFramework/SelfHost/Config/Clients.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ public static List<Client> Get()
ClientName = "Code Flow Clients",
Enabled = true,
ClientId = "codeclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.AuthorizationCode,

RequireConsent = true,
Expand All @@ -31,7 +33,7 @@ public static List<Client> Get()
"https://localhost:44320/oidccallback",

// MVC code client manual
"https://localhost:44312/callback",
"https://localhost:44312/callback"
},

ScopeRestrictions = new List<string>
Expand All @@ -44,8 +46,6 @@ public static List<Client> Get()
"write"
},


IdentityTokenSigningKeyType = SigningKeyTypes.Default,
//SubjectType = SubjectTypes.Global,
AccessTokenType = AccessTokenType.Reference,

Expand All @@ -59,7 +59,9 @@ public static List<Client> Get()
ClientName = "Implicit Clients",
Enabled = true,
ClientId = "implicitclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.Implicit,

ClientUri = "http://www.thinktecture.com",
Expand Down Expand Up @@ -92,7 +94,6 @@ public static List<Client> Get()
"write"
},

IdentityTokenSigningKeyType = SigningKeyTypes.Default,
//SubjectType = SubjectTypes.Global,
AccessTokenType = AccessTokenType.Jwt,

Expand All @@ -104,7 +105,6 @@ public static List<Client> Get()
ClientName = "Client Credentials Flow Client",
Enabled = true,
ClientId = "client",
ClientSecret = "secret",
Flow = Flows.ClientCredentials,

ScopeRestrictions = new List<string>
Expand All @@ -121,7 +121,9 @@ public static List<Client> Get()
ClientName = "Resource Owner Flow Client",
Enabled = true,
ClientId = "roclient",
ClientSecret = "secret",
ClientSecrets = new List<ClientSecret>{
new ClientSecret("secret".Sha256())
},
Flow = Flows.ResourceOwner,

ScopeRestrictions = new List<string>
Expand Down
4 changes: 2 additions & 2 deletions source/EntityFramework/SelfHost/EntityFramework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
<Reference Include="System.Web" />
<Reference Include="Thinktecture.IdentityServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10069\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.1.0.0-pre-10217\lib\net45\Thinktecture.IdentityServer.dll</HintPath>
</Reference>
<Reference Include="Thinktecture.IdentityServer.Core.EntityFramework, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.EntityFramework.1.0.0-pre-10006\lib\net45\Thinktecture.IdentityServer.Core.EntityFramework.dll</HintPath>
<HintPath>..\packages\Thinktecture.IdentityServer.v3.EntityFramework.1.0.0-pre-10008\lib\net45\Thinktecture.IdentityServer.Core.EntityFramework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions source/EntityFramework/SelfHost/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<package id="Microsoft.Owin.Hosting" version="3.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.5" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10069" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3.EntityFramework" version="1.0.0-pre-10006" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3" version="1.0.0-pre-10217" targetFramework="net45" />
<package id="Thinktecture.IdentityServer.v3.EntityFramework" version="1.0.0-pre-10008" targetFramework="net45" />
</packages>
Loading

0 comments on commit 0b60fb8

Please sign in to comment.