BaseAuthQuery<T> class abstract

Inheritance
Implementers

Constructors

BaseAuthQuery([CubeUser? _user])
BaseAuthQuery.usingSocial(String? _provider, List<String?> args)
This constructor uses for creating query for sign in user via social networks or other providers. Different providers contains different count of parameters for authorisation and we can set they to parameter args.

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

buildQueryUrl(List specificParts) String
inherited
getTokenExpirationDateFromResponse(RestResponse response) DateTime?
inherited
handelError(Object error) → dynamic
inherited
handleResponse(RestResponse response) → dynamic
inherited
isSessionRequired() bool
inherited
isUserRequired() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
perform() Future<T>
inherited
prepareSessionIfNeed() Future<CubeSession?>
inherited
processResult(String responseBody) → T
inherited
putValue(Map<String?, dynamic> parametersMap, String key, dynamic value) → void
inherited
setBody(RestRequest request) → void
override
setHeaders(RestRequest request) → void
inherited
setMethod(RestRequest request) → void
override
setParams(RestRequest request) → void
override
setupRequest(RestRequest request) → void
inherited
setUrl(RestRequest request) → void
inherited
toString() String
A string representation of this object.
inherited
updateTokenExpirationDate(RestResponse response) → void
inherited

Operators

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