HttpHubConnectionBuilder.withAccessTokenProvider(Single<String> accessTokenProvider) Method

Definition

Sets the access token provider for the HubConnection.

public HttpHubConnectionBuilder withAccessTokenProvider(Single<String> accessTokenProvider)

Parameters

accessTokenProvider
io.reactivex.Single<java.lang.String>

The access token provider to be used by the HubConnection.

Returns

This instance of the HttpHubConnectionBuilder.

Applies to