accessToken property

String? accessToken
final

Bearer token sent as the first Swamp protocol command.

This is the recommended authentication mechanism because it works on native and browser WebSocket clients. Use wss in production.

Implementation

final String? accessToken;