ServerlessHub.Negotiate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET