EndpointJwtRefresh class Endpoint

By extending RefreshJwtTokensEndpoint, the JWT token refresh endpoint is made available on the server and enables automatic token refresh on the client.

Inheritance

Constructors

EndpointJwtRefresh(EndpointCaller caller)

Properties

caller → EndpointCaller
Holds a reference to the caller class.
finalinherited
client ↔ ServerpodClientShared
Reference to the client.
latefinalinherited
hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of the endpoint this reference is connected to.
no setteroverride
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
refreshAccessToken({String? refreshToken}) → Future<AuthSuccess>
Creates a new token pair for the given refreshToken.
toString() → String
A string representation of this object.
inherited

Operators

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