RouteGoogleSignIn class
A route that redirects the user back to the client after signing in with Google. The redirect includes the auth code that will automatically be picked up by the serverpod_auth_google_flutter package.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- method → RouteMethod
-
The method this route will respond to, i.e. HTTP get or post.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
build(
Session session, HttpRequest request) → Future< AbstractWidget> -
Override this method to build your web
Widget
from the currentsession
andrequest
. -
handleCall(
Session session, HttpRequest request) → Future< bool> -
Handles a call to this route. This method is repsonsible for setting
a correct response headers, status code, and write the response body to
request.response
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setHeaders(
HttpHeaders headers) → void -
Sets the headers of the response. Default is text/html with UTF-8
encoding.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited