AuthEndpointRedirect class final

A framework-neutral redirect returned by an auth plugin endpoint.

Constructors

AuthEndpointRedirect({required Uri location, int statusCode = 302, Map<String, String> headers = const <String, String>{}})
Creates a redirect response to location.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
Additional response headers.
final
location → Uri
Destination URI for the redirect.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
HTTP status code used for the redirect.
final

Methods

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