A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/signumsoftware/framework/commit/1ad8c2405bb5f9bd65301548a232059bb4c1173c below:

replace AllowAnonymous for SignumAllowAnonymous · signumsoftware/framework@1ad8c24 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+14

-1

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+14

-1

lines changed Original file line number Diff line number Diff line change

@@ -4,12 +4,13 @@

4 4

using Signum.Engine.Basics;

5 5

using Microsoft.AspNetCore.Mvc;

6 6

using Microsoft.AspNetCore.Authorization;

7 +

using Signum.React.Filters;

7 8 8 9

namespace Signum.React.ApiControllers

9 10

{

10 11

public class ReflectionController : ControllerBase

11 12

{

12 -

[HttpGet("api/reflection/types"), AllowAnonymous]

13 +

[HttpGet("api/reflection/types"), SignumAllowAnonymous]

13 14

public Dictionary<string, TypeInfoTS> Types()

14 15

{

15 16

return ReflectionServer.GetTypeInfoTS();

Original file line number Diff line number Diff line change

@@ -0,0 +1,12 @@

1 +

using System;

2 +

using System.Collections.Generic;

3 +

using System.Linq;

4 +

using System.Threading.Tasks;

5 + 6 +

namespace Signum.React.Filters

7 +

{

8 +

[System.AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = false)]

9 +

public sealed class SignumAllowAnonymousAttribute : Attribute

10 +

{

11 +

}

12 +

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4