Skip to content

Commit

Permalink
added licence
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos Anestos committed Oct 4, 2017
1 parent 58951a7 commit 40d0fc1
Show file tree
Hide file tree
Showing 9 changed files with 120 additions and 155 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
using System;
/*
* Copyright (C) 2016 Curity AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Mvc;
using Newtonsoft.Json.Linq;
using static System.Convert;
Expand Down
20 changes: 18 additions & 2 deletions example-dotnet-openid-connect-client/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
using System;
using System.Web.Mvc;
/*
* Copyright (C) 2016 Curity AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Mvc;
using Newtonsoft.Json.Linq;

namespace exampledotnetopenidconnectclient.Controllers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
using System.Web.Mvc;
/*
* Copyright (C) 2016 Curity AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System.Web.Mvc;

namespace exampledotnetopenidconnectclient.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
using System.Web.Mvc;
/*
* Copyright (C) 2016 Curity AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System.Web.Mvc;

namespace exampledotnetopenidconnectclient.Controllers
{
Expand Down
21 changes: 17 additions & 4 deletions example-dotnet-openid-connect-client/Global.asax.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
using System.Web;
/*
* Copyright (C) 2016 Curity AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Http;
using System;
using exampledotnetopenidconnectclient.App_Start;

namespace exampledotnetopenidconnectclient
{
Expand Down
140 changes: 0 additions & 140 deletions example-dotnet-openid-connect-client/Helpers/AsyncHelpers.cs

This file was deleted.

20 changes: 17 additions & 3 deletions example-dotnet-openid-connect-client/Helpers/Client.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
using System;
/*
* Copyright (C) 2016 Curity AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System;
using System.Collections.Generic;
using System.Web;
using System.Net.Http;
using Newtonsoft.Json.Linq;

namespace exampledotnetopenidconnectclient.Helpers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
using System;
/*
* Copyright (C) 2016 Curity AB.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

using System;

public class JwtValidationException : Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
<Compile Include="Controllers\CallbackController.cs" />
<Compile Include="Controllers\LoginController.cs" />
<Compile Include="Controllers\LogoutController.cs" />
<Compile Include="Helpers\AsyncHelpers.cs" />
<Compile Include="App_Start\AppConfig.cs" />
<Compile Include="Helpers\Client.cs" />
<Compile Include="Helpers\JwtValidationException.cs" />
Expand Down

0 comments on commit 40d0fc1

Please sign in to comment.