RefreshInterceptor<T> class
The former name of GrpcTokenInterceptor.
It stays as a subclass so 0.1 code keeps compiling; see the migration guide for the behaviour changes.
- Inheritance
-
- Object
- GrpcTokenInterceptor<
T> - RefreshInterceptor
- Annotations
-
- @Deprecated('Use GrpcTokenInterceptor.')
Constructors
-
RefreshInterceptor({required TokenManager<
T> manager, required RefreshInterceptorDelegate<T> delegate}) -
Creates an interceptor; see GrpcTokenInterceptor.new.
const
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
-
interceptStreaming<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, CallOptions options, ClientStreamingInvoker<Q, R> invoker) → ResponseStream<R> -
inherited
-
interceptUnary<
Q, R> (ClientMethod< Q, R> method, Q request, CallOptions options, ClientUnaryInvoker<Q, R> invoker) → ResponseFuture<R> -
inherited
-
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