DescopeNetworkClient class abstract

The DescopeNetworkClient abstract class can be used to override how HTTP requests are performed by the SDK when calling the Descope server.

If you want to provide your own client for testing or other purposes, implement the sendRequest function and either return some value or throw an exception.

Constructors

DescopeNetworkClient()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendRequest(Request request) Future<Response>
Send a request and expect an http.Response to be returned asynchronously or an exception to be thrown
toString() String
A string representation of this object.
inherited

Operators

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