Udostępnij za pośrednictwem


ServerlessHub.Negotiate Method

Definition

Gets client endpoint access information object for SignalR hub connections to connect to Azure SignalR Service

protected Microsoft.Azure.WebJobs.Extensions.SignalRService.SignalRConnectionInfo Negotiate (string userId = default, System.Collections.Generic.IList<System.Security.Claims.Claim> claims = default, TimeSpan? lifetime = default);
member this.Negotiate : string * System.Collections.Generic.IList<System.Security.Claims.Claim> * Nullable<TimeSpan> -> Microsoft.Azure.WebJobs.Extensions.SignalRService.SignalRConnectionInfo
Protected Function Negotiate (Optional userId As String = Nothing, Optional claims As IList(Of Claim) = Nothing, Optional lifetime As Nullable(Of TimeSpan) = Nothing) As SignalRConnectionInfo

Parameters

userId
String
claims
IList<Claim>
lifetime
Nullable<TimeSpan>

Returns

Applies to