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
methodMethodInfoThe 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
typeTypeThe type to check.
Returns
- bool?
True if anonymous access is allowed, false otherwise, or null if this evaluator cannot determine.