Compartilhar via


ServerlessHub.Negotiate Método

Definição

Obtém o objeto de informações de acesso do ponto de extremidade do cliente para conexões do hub SignalR para se conectar a Serviço do Azure SignalR

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

Parâmetros

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

Retornos

Aplica-se a