onRefresh method
Handles the token refresh operation.
Retrieves a new authentication token from the repository.
Implementation
Future<void> onRefresh() async {
final repository = GetIt.instance.get<PortalAuthenticationRepository>();
await repository.refreshToken();
}