SecurityCondition class abstract

A security condition for use with @Secured.

Implementers

Constructors

SecurityCondition()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

evaluate(Map<String, dynamic> claims, Map<String, String> headers) FutureOr<bool>
Returns false when the client is not allowed to access the resource. Claims contains all security claims found for the principal (eg. in a JWT token). Headers returns all path and query parameters, and HTTP headers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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