APIRouteAuthenticatedRule class

A route rule for access only for authenticated requests (APIAuthentication).

Inheritance
Implementers

Constructors

APIRouteAuthenticatedRule()
const

Properties

globalRules bool
If true apply this APIRouteRule declaration to all routes/methods. If false this instance will be applied only to routes/methods without any APIRouteRule declaration.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
noGlobalRules bool
If true blocks APIRouteRule with globalRules to be applied to the route/method with this declaration.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
override
toString() String
A string representation of this object.
override
validate(APIRequest request) bool
Returns true if the request is valid by this rule.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited