Interface IAnonymousEvaluator

Namespace
Cratis.Arc.Authorization
Assembly
Cratis.Arc.Core.dll

Defines a system that can evaluate if anonymous access is allowed for a type or method.

public interface IAnonymousEvaluator
Extension Methods

Methods

IsAnonymousAllowed(MethodInfo)

Checks if anonymous access is allowed for the specified method.

bool? IsAnonymousAllowed(MethodInfo method)

Parameters

method MethodInfo

The method to check.

Returns

bool?

True if anonymous access is allowed, false otherwise, or null if this evaluator cannot determine.

IsAnonymousAllowed(Type)

Checks if anonymous access is allowed for the specified type.

bool? IsAnonymousAllowed(Type type)

Parameters

type Type

The type to check.

Returns

bool?

True if anonymous access is allowed, false otherwise, or null if this evaluator cannot determine.