receivedAuthTokens property

List<String?> get receivedAuthTokens

The auth token the client sent with each connection (and each token change while connected), oldest first: null for a connection made without a user. A connection after revokeAuth sends a token fetched with forceRefresh: true.

The tokens come through the client's token source, as the real connection gets them: a change event of the auth provider is a signal, and the token recorded is the one the source then fetches with getAccessToken, never the payload of the event.

Implementation

List<String?> get receivedAuthTokens =>
    List<String?>.unmodifiable(_authTokens);