DVPreviewAccess class final

The gate in front of a preview.

Constructors

DVPreviewAccess(DVPreviewRuntime runtime, {DVPreviewMembership? membership, String signInPath = '/sign-in', Set<String> openPaths = const <String>{}})

Properties

hashCode → int
The hash code for this object.
no setterinherited
membership → DVPreviewMembership?
final
openPaths → Set<String>
Further path prefixes a members preview serves to anybody -- the auth endpoints the sign-in page calls.
final
runtime → DVPreviewRuntime
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signInPath → String
Where a signed-out request is sent. Reachable without membership.
final

Methods

handle(Request request, FutureOr<Response> next(Request request)) → Future<Response>
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